コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.WindowIB = ((InternetBanking.MainWindow)(target));
     
     #line 4 "..\..\MainWindow.xaml"
     this.WindowIB.Closed += new System.EventHandler(this.MainWindowClosed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.cb1IB = ((System.Windows.Controls.ComboBox)(target));
     
     #line 7 "..\..\MainWindow.xaml"
     this.cb1IB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb1_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.btn1IB = ((System.Windows.Controls.Button)(target));
     
     #line 12 "..\..\MainWindow.xaml"
     this.btn1IB.Click += new System.Windows.RoutedEventHandler(this.btn1_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.tb1IB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.errLblIB = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.tbPinIB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.lbPinIB = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.btnOkIB = ((System.Windows.Controls.Button)(target));
     
     #line 17 "..\..\MainWindow.xaml"
     this.btnOkIB.Click += new System.Windows.RoutedEventHandler(this.btnOk_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.tbCashIB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.lbOncardIB = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.lbUSDIB = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.WindowIB = ((InternetBanking.MainWindow)(target));

            #line 4 "..\..\MainWindow.xaml"
                this.WindowIB.Closed += new System.EventHandler(this.MainWindowClosed);

            #line default
            #line hidden
                return;

            case 2:
                this.cb1IB = ((System.Windows.Controls.ComboBox)(target));

            #line 7 "..\..\MainWindow.xaml"
                this.cb1IB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb1_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 12 "..\..\MainWindow.xaml"
                this.btn1IB.Click += new System.Windows.RoutedEventHandler(this.btn1_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.tb1IB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.errLblIB = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.tbPinIB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.lbPinIB = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.btnOkIB = ((System.Windows.Controls.Button)(target));

            #line 17 "..\..\MainWindow.xaml"
                this.btnOkIB.Click += new System.Windows.RoutedEventHandler(this.btnOk_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.tbCashIB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.lbOncardIB = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.lbUSDIB = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }