コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Login = ((ATM.MainWindow)(target));
                return;

            case 2:

            #line 27 "..\..\..\Forms\Login.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 3:
                this.btnClose = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\..\Forms\Login.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 60 "..\..\..\Forms\Login.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 5:

            #line 61 "..\..\..\Forms\Login.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 6:
                this.gridCursor = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.GridLog = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainW = ((ATM.MainWindow)(target));
                return;

            case 2:
                this.MainFrame = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }