Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtTenMon = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 3:
                this.btnThem = ((ControlLibrary.POSButtonIconHorizontal)(target));

            #line 29 "..\..\UCMenuMayIn.xaml"
                this.btnThem.Click += new System.Windows.RoutedEventHandler(this.btnThem_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnXoa = ((ControlLibrary.POSButtonIconHorizontal)(target));

            #line 30 "..\..\UCMenuMayIn.xaml"
                this.btnXoa.Click += new System.Windows.RoutedEventHandler(this.btnXoa_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.lvMayIn = ((System.Windows.Controls.ListView)(target));

            #line 32 "..\..\UCMenuMayIn.xaml"
                this.lvMayIn.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvMayIn_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.UCMenu = ((ControlLibrary.UCMenu)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:
                this.uCMenuBanHang = ((ControlLibrary.UCMenu)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.txtTenMon = ((System.Windows.Controls.TextBox)(target));
     return;
     case 2:
     this.cbbMayIn = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 3:
     this.btnThem = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 29 "..\..\UCMenuMayIn.xaml"
     this.btnThem.Click += new System.Windows.RoutedEventHandler(this.btnThem_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.btnXoa = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 30 "..\..\UCMenuMayIn.xaml"
     this.btnXoa.Click += new System.Windows.RoutedEventHandler(this.btnXoa_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.lvMayIn = ((System.Windows.Controls.ListView)(target));
     
     #line 32 "..\..\UCMenuMayIn.xaml"
     this.lvMayIn.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvMayIn_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.UCMenu = ((ControlLibrary.UCMenu)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\WindowBanHang.xaml"
     ((GUI.WindowBanHang)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.lvDanhSachMon = ((System.Windows.Controls.ListView)(target));
     return;
     case 3:
     this.uCMenuBanHang = ((ControlLibrary.UCMenu)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:
                this.uCMenu = ((ControlLibrary.UCMenu)(target));
                return;

            case 3:
                this.btnNhomMoi = ((ControlLibrary.POSButtonChucNang)(target));

            #line 27 "..\..\WindowMenuChange.xaml"
                this.btnNhomMoi.Click += new System.Windows.RoutedEventHandler(this.btnNhomMoi_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnMonMoi = ((ControlLibrary.POSButtonChucNang)(target));

            #line 28 "..\..\WindowMenuChange.xaml"
                this.btnMonMoi.Click += new System.Windows.RoutedEventHandler(this.btnMonMoi_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnCapNhat = ((ControlLibrary.POSButtonChucNang)(target));

            #line 29 "..\..\WindowMenuChange.xaml"
                this.btnCapNhat.Click += new System.Windows.RoutedEventHandler(this.btnCapNhat_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnXoa = ((ControlLibrary.POSButtonChucNang)(target));

            #line 30 "..\..\WindowMenuChange.xaml"
                this.btnXoa.Click += new System.Windows.RoutedEventHandler(this.btnXoa_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.svChinhSuaMenu = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 8:
                this.Thoát = ((ControlLibrary.POSButtonChucNang)(target));

            #line 36 "..\..\WindowMenuChange.xaml"
                this.Thoát.Click += new System.Windows.RoutedEventHandler(this.Thoát_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\WindowMenuChange.xaml"
     ((GUI.WindowMenuChange)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.uCMenu = ((ControlLibrary.UCMenu)(target));
     return;
     case 3:
     this.btnNhomMoi = ((ControlLibrary.POSButtonChucNang)(target));
     
     #line 27 "..\..\WindowMenuChange.xaml"
     this.btnNhomMoi.Click += new System.Windows.RoutedEventHandler(this.btnNhomMoi_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.btnMonMoi = ((ControlLibrary.POSButtonChucNang)(target));
     
     #line 28 "..\..\WindowMenuChange.xaml"
     this.btnMonMoi.Click += new System.Windows.RoutedEventHandler(this.btnMonMoi_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnCapNhat = ((ControlLibrary.POSButtonChucNang)(target));
     
     #line 29 "..\..\WindowMenuChange.xaml"
     this.btnCapNhat.Click += new System.Windows.RoutedEventHandler(this.btnCapNhat_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnXoa = ((ControlLibrary.POSButtonChucNang)(target));
     
     #line 30 "..\..\WindowMenuChange.xaml"
     this.btnXoa.Click += new System.Windows.RoutedEventHandler(this.btnXoa_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.svChinhSuaMenu = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 8:
     this.Thoát = ((ControlLibrary.POSButtonChucNang)(target));
     
     #line 36 "..\..\WindowMenuChange.xaml"
     this.Thoát.Click += new System.Windows.RoutedEventHandler(this.Thoát_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }