Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 4:
                this.txtBanQuyen = ((ControlLibrary.POSTextBox)(target));
                return;

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

            case 6:
                this.txtMatKhau = ((ControlLibrary.POSTextBox)(target));
                return;

            case 7:
                this.btnDongY = ((ControlLibrary.POSButtonIcon)(target));

            #line 11 "..\..\..\MainWindow.xaml"
                this.btnDongY.Click += new System.Windows.RoutedEventHandler(this.btnDongY_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnDong = ((ControlLibrary.POSButtonIcon)(target));

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

            #line default
            #line hidden
                return;

            case 9:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.cboLoaiBanQuyen = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((License.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.txtMaSanPham = ((ControlLibrary.POSTextBox)(target));
     return;
     case 4:
     this.txtBanQuyen = ((ControlLibrary.POSTextBox)(target));
     return;
     case 5:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.txtMatKhau = ((ControlLibrary.POSTextBox)(target));
     return;
     case 7:
     this.btnDongY = ((ControlLibrary.POSButtonIcon)(target));
     
     #line 11 "..\..\..\MainWindow.xaml"
     this.btnDongY.Click += new System.Windows.RoutedEventHandler(this.btnDongY_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btnDong = ((ControlLibrary.POSButtonIcon)(target));
     
     #line 12 "..\..\..\MainWindow.xaml"
     this.btnDong.Click += new System.Windows.RoutedEventHandler(this.btnDong_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.cboLoaiBanQuyen = ((System.Windows.Controls.ComboBox)(target));
     return;
     }
     this._contentLoaded = true;
 }