Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.WindowCM = ((InternetBanking.CashMachine)(target));
                return;

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

            #line 7 "..\..\CashMachine.xaml"
                this.cb1CM.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb1CM_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.lbPinCM = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.lbOncardCM = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.tbPinCM = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.btnOKCM = ((System.Windows.Controls.Button)(target));

            #line 11 "..\..\CashMachine.xaml"
                this.btnOKCM.Click += new System.Windows.RoutedEventHandler(this.btnOKCM_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.tbCashCM = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.lbUSDCM = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.btn1CM = ((System.Windows.Controls.Button)(target));

            #line 14 "..\..\CashMachine.xaml"
                this.btn1CM.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 10:
                this.tb1CM = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.errLblCM = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.WindowCM = ((InternetBanking.CashMachine)(target));
     return;
     case 2:
     this.cb1CM = ((System.Windows.Controls.ComboBox)(target));
     
     #line 7 "..\..\CashMachine.xaml"
     this.cb1CM.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb1CM_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.lbPinCM = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.lbOncardCM = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.tbPinCM = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.btnOKCM = ((System.Windows.Controls.Button)(target));
     
     #line 11 "..\..\CashMachine.xaml"
     this.btnOKCM.Click += new System.Windows.RoutedEventHandler(this.btnOKCM_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.tbCashCM = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.lbUSDCM = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.btn1CM = ((System.Windows.Controls.Button)(target));
     
     #line 14 "..\..\CashMachine.xaml"
     this.btn1CM.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 10:
     this.tb1CM = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.errLblCM = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }