예제 #1
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;
        }
예제 #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;
 }