Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\WindowLogin.xaml"
                ((GUI.WindowLogin)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 4 "..\..\WindowLogin.xaml"
                ((GUI.WindowLogin)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.txtUserID = ((ControlLibrary.POSTextBox)(target));
                return;

            case 3:
                this.txtPassword = ((ControlLibrary.POSTextBox)(target));
                return;

            case 4:
                this.uCKeyPad = ((ControlLibrary.UCKeyPad)(target));
                return;

            case 5:

            #line 39 "..\..\WindowLogin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnExit_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 47 "..\..\WindowLogin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnClear_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 55 "..\..\WindowLogin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnEnter_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\WindowLogin.xaml"
     ((GUI.WindowLogin)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     
     #line 4 "..\..\..\WindowLogin.xaml"
     ((GUI.WindowLogin)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.txtUserID = ((ControlLibrary.POSTextBox)(target));
     return;
     case 3:
     this.txtPassword = ((ControlLibrary.POSTextBox)(target));
     return;
     case 4:
     this.uCKeyPad = ((ControlLibrary.UCKeyPad)(target));
     return;
     case 5:
     
     #line 40 "..\..\..\WindowLogin.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnExit_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 48 "..\..\..\WindowLogin.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnClear_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 56 "..\..\..\WindowLogin.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnEnter_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }