void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 4 "..\..\WindowDanhSachBan.xaml" ((GUI.WindowDanhSachBan)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.txtTenMon = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.cbbLoaiBan = ((System.Windows.Controls.ComboBox)(target)); return; case 4: this.txtSoLuongBan = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.txtSoLuongTonKhoToiDa = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.txtSoLuongTonKhoToiThieu = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.lbStatusLoaiBan = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.btnLoaiBanMoi = ((ControlLibrary.POSButtonIconHorizontal)(target)); #line 38 "..\..\WindowDanhSachBan.xaml" this.btnLoaiBanMoi.Click += new System.Windows.RoutedEventHandler(this.btnLoaiBanMoi_Click); #line default #line hidden return; case 9: this.btnThemLoaiBan = ((ControlLibrary.POSButtonIconHorizontal)(target)); #line 39 "..\..\WindowDanhSachBan.xaml" this.btnThemLoaiBan.Click += new System.Windows.RoutedEventHandler(this.btnThemLoaiBan_Click); #line default #line hidden return; case 10: this.btnXoaLoaiBan = ((ControlLibrary.POSButtonIconHorizontal)(target)); #line 40 "..\..\WindowDanhSachBan.xaml" this.btnXoaLoaiBan.Click += new System.Windows.RoutedEventHandler(this.btnXoaLoaiBan_Click); #line default #line hidden return; case 11: this.lvLoaiBan = ((System.Windows.Controls.ListView)(target)); #line 41 "..\..\WindowDanhSachBan.xaml" this.lvLoaiBan.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvLoaiBan_SelectionChanged); #line default #line hidden return; case 12: this.txtLoaiBan = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.cbbLoaiGiaBan = ((System.Windows.Controls.ComboBox)(target)); #line 72 "..\..\WindowDanhSachBan.xaml" this.cbbLoaiGiaBan.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbbLoaiGiaBan_SelectionChanged); #line default #line hidden return; case 14: this.txtGiaBan = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.btnThemGiaBan = ((ControlLibrary.POSButtonIconHorizontal)(target)); #line 75 "..\..\WindowDanhSachBan.xaml" this.btnThemGiaBan.Click += new System.Windows.RoutedEventHandler(this.btnThemGiaBan_Click); #line default #line hidden return; case 16: this.btnXoaGiaBan = ((ControlLibrary.POSButtonIconHorizontal)(target)); #line 76 "..\..\WindowDanhSachBan.xaml" this.btnXoaGiaBan.Click += new System.Windows.RoutedEventHandler(this.btnXoaGiaBan_Click); #line default #line hidden return; case 17: this.lvLoaiGiaBan = ((System.Windows.Controls.ListView)(target)); #line 77 "..\..\WindowDanhSachBan.xaml" this.lvLoaiGiaBan.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvLoaiGiaBan_SelectionChanged); #line default #line hidden return; case 18: this.btnThoat = ((ControlLibrary.POSButtonChucNang)(target)); #line 87 "..\..\WindowDanhSachBan.xaml" this.btnThoat.Click += new System.Windows.RoutedEventHandler(this.btnThoat_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; }