예제 #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 7 "..\..\UCNewNhom.xaml"
                ((ControlLibrary.UCNewNhom)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

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

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

            case 5:
                this.cbbMayIn = ((ControlLibrary.POSCombobox)(target));
                return;

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

            #line 37 "..\..\UCNewNhom.xaml"
                this.btnHinhAnh.Click += new System.Windows.RoutedEventHandler(this.btnHinhAnh_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #3
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;
        }
예제 #4
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;
 }
예제 #5
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;
 }
예제 #6
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\UCNewNhom.xaml"
     ((ControlLibrary.UCNewNhom)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.txtTenNgan = ((ControlLibrary.POSTextBox)(target));
     return;
     case 3:
     this.txtTenDai = ((ControlLibrary.POSTextBox)(target));
     return;
     case 4:
     this.txtSapXep = ((ControlLibrary.POSTextBox)(target));
     return;
     case 5:
     this.cbbMayIn = ((ControlLibrary.POSCombobox)(target));
     return;
     case 6:
     this.btnHinhAnh = ((System.Windows.Controls.Button)(target));
     
     #line 37 "..\..\UCNewNhom.xaml"
     this.btnHinhAnh.Click += new System.Windows.RoutedEventHandler(this.btnHinhAnh_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 public UCPOSPassword()
 {
     InitializeComponent();
     mPOSTextBox              = new POSTextBox();
     mPOSTextBox.TextChanged += new TextChangedEventHandler(mPOSTextBox_TextChanged);
 }