Ejemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.pOSButtonIconHorizontal1 = ((ControlLibrary.POSButtonIconHorizontal)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.pOSButtonIconHorizontal1 = ((ControlLibrary.POSButtonIconHorizontal)(target));
         return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 3
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;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\WindowQuanLyLoaiGia.xaml"
     ((GUI.WindowQuanLyLoaiGia)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.txtLoaiGia = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.txtDienGiai = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.lbStatus = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.btnMoi = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 26 "..\..\WindowQuanLyLoaiGia.xaml"
     this.btnMoi.Click += new System.Windows.RoutedEventHandler(this.btnTaoMoi_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnThem = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 27 "..\..\WindowQuanLyLoaiGia.xaml"
     this.btnThem.Click += new System.Windows.RoutedEventHandler(this.btnThemMoi_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btnXoa = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 28 "..\..\WindowQuanLyLoaiGia.xaml"
     this.btnXoa.Click += new System.Windows.RoutedEventHandler(this.btnXoa_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.lvLoaiGia = ((System.Windows.Controls.ListView)(target));
     
     #line 31 "..\..\WindowQuanLyLoaiGia.xaml"
     this.lvLoaiGia.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvLoaiGia_SelectionChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:
                this.txtLoaiGia = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.txtDienGiai = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.lbStatus = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.btnMoi = ((ControlLibrary.POSButtonIconHorizontal)(target));

            #line 26 "..\..\WindowQuanLyLoaiGia.xaml"
                this.btnMoi.Click += new System.Windows.RoutedEventHandler(this.btnTaoMoi_Click);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\WindowQuanLyLoaiGia.xaml"
                this.btnThem.Click += new System.Windows.RoutedEventHandler(this.btnThemMoi_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 8:
                this.lvLoaiGia = ((System.Windows.Controls.ListView)(target));

            #line 31 "..\..\WindowQuanLyLoaiGia.xaml"
                this.lvLoaiGia.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvLoaiGia_SelectionChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\UCNhomQuyenNhanVien.xaml"
                ((UserControlLibrary.UCNhomQuyenNhanVien)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.cbbNhanVien = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.lbStatus = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.btnMoi = ((ControlLibrary.POSButtonIconHorizontal)(target));

            #line 30 "..\..\UCNhomQuyenNhanVien.xaml"
                this.btnMoi.Click += new System.Windows.RoutedEventHandler(this.btnMoi_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 8:
                this.lvData = ((System.Windows.Controls.ListView)(target));

            #line 34 "..\..\UCNhomQuyenNhanVien.xaml"
                this.lvData.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvData_SelectionChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 7
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;
 }
Ejemplo n.º 8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtTenLichBieu = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 3:
                this.txtGioBatDau = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.txtGioKetThuc = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.txtNgay = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.txtUuTien = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.lbStatus = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.btnMoi = ((ControlLibrary.POSButtonIconHorizontal)(target));

            #line 40 "..\..\UCLichBieuKhongDinhKy.xaml"
                this.btnMoi.Click += new System.Windows.RoutedEventHandler(this.btnMoi_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 11:
                this.lvData = ((System.Windows.Controls.ListView)(target));

            #line 45 "..\..\UCLichBieuKhongDinhKy.xaml"
                this.lvData.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvData_SelectionChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:
                this.txtTenNhanVien = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.cbbLoaiNhanVien = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.txtTenDangNhap = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.txtMatKhau = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 6:
                this.lbStatus = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.btnMoi = ((ControlLibrary.POSButtonIconHorizontal)(target));

            #line 30 "..\..\WindowQuanLyNhanVien.xaml"
                this.btnMoi.Click += new System.Windows.RoutedEventHandler(this.btnMoi_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 10:
                this.lvNhanVien = ((System.Windows.Controls.ListView)(target));

            #line 34 "..\..\WindowQuanLyNhanVien.xaml"
                this.lvNhanVien.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvNhanVien_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.btnThoat = ((ControlLibrary.POSButtonIconHorizontal)(target));

            #line 43 "..\..\WindowQuanLyNhanVien.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 "..\..\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;
        }
Ejemplo n.º 11
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.txtTieuDeMayIn = ((System.Windows.Controls.TextBox)(target));
     return;
     case 2:
     this.cbbTenMayIn = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 3:
     this.ckHopDungTien = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 4:
     this.txtSoLanIn = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.lbStatus = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.btnMoi = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 35 "..\..\UCMayIn.xaml"
     this.btnMoi.Click += new System.Windows.RoutedEventHandler(this.btnMoi_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btnThem = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 36 "..\..\UCMayIn.xaml"
     this.btnThem.Click += new System.Windows.RoutedEventHandler(this.btnThem_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btnXoa = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 37 "..\..\UCMayIn.xaml"
     this.btnXoa.Click += new System.Windows.RoutedEventHandler(this.btnXoa_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.lvMayIn = ((System.Windows.Controls.ListView)(target));
     
     #line 40 "..\..\UCMayIn.xaml"
     this.lvMayIn.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvMayIn_SelectionChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtTieuDeMayIn = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 3:
                this.ckHopDungTien = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 4:
                this.txtSoLanIn = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.lbStatus = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.btnMoi = ((ControlLibrary.POSButtonIconHorizontal)(target));

            #line 35 "..\..\UCMayIn.xaml"
                this.btnMoi.Click += new System.Windows.RoutedEventHandler(this.btnMoi_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\WindowQuanLyNhanVien.xaml"
     ((GUI.WindowQuanLyNhanVien)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.txtTenNhanVien = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.cbbLoaiNhanVien = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 4:
     this.txtTenDangNhap = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.txtMatKhau = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 6:
     this.lbStatus = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.btnMoi = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 30 "..\..\WindowQuanLyNhanVien.xaml"
     this.btnMoi.Click += new System.Windows.RoutedEventHandler(this.btnMoi_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btnThem = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 31 "..\..\WindowQuanLyNhanVien.xaml"
     this.btnThem.Click += new System.Windows.RoutedEventHandler(this.btnThem_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.btnXoa = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 32 "..\..\WindowQuanLyNhanVien.xaml"
     this.btnXoa.Click += new System.Windows.RoutedEventHandler(this.btnXoa_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.lvNhanVien = ((System.Windows.Controls.ListView)(target));
     
     #line 34 "..\..\WindowQuanLyNhanVien.xaml"
     this.lvNhanVien.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvNhanVien_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.btnThoat = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 43 "..\..\WindowQuanLyNhanVien.xaml"
     this.btnThoat.Click += new System.Windows.RoutedEventHandler(this.btnThoat_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 14
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\UCKhachHang.xaml"
     ((UserControlLibrary.UCKhachHang)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.txtTenKhachHang = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.cbbLoaiKhachHang = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 4:
     this.txtDuNo = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.txtDuNoToiThieu = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.txtEmail = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.txtSoNha = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.txtTenDuong = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.txtDienThoaiĐong = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.txtDienThoaiBan = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.txtFax = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.lbStatus = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.btnMoi = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 52 "..\..\UCKhachHang.xaml"
     this.btnMoi.Click += new System.Windows.RoutedEventHandler(this.btnMoi_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.btnThem = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 53 "..\..\UCKhachHang.xaml"
     this.btnThem.Click += new System.Windows.RoutedEventHandler(this.btnThem_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.btnXoa = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 54 "..\..\UCKhachHang.xaml"
     this.btnXoa.Click += new System.Windows.RoutedEventHandler(this.btnXoa_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.lvData = ((System.Windows.Controls.ListView)(target));
     
     #line 57 "..\..\UCKhachHang.xaml"
     this.lvData.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvData_SelectionChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\UCLichBieuDinhKy.xaml"
     ((UserControlLibrary.UCLichBieuDinhKy)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.txtTenLichBieu = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.cbbLoaiGia = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 4:
     this.txtGioBatDau = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.txtGioKetThuc = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.txtUuTien = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.cbbLoaiLichBieuBatDau = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 8:
     this.cbbLoaiLichBieuKetThuc = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 9:
     this.lbStatus = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.btnMoi = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 43 "..\..\UCLichBieuDinhKy.xaml"
     this.btnMoi.Click += new System.Windows.RoutedEventHandler(this.btnMoi_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.btnThem = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 44 "..\..\UCLichBieuDinhKy.xaml"
     this.btnThem.Click += new System.Windows.RoutedEventHandler(this.btnThem_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.btnXoa = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 45 "..\..\UCLichBieuDinhKy.xaml"
     this.btnXoa.Click += new System.Windows.RoutedEventHandler(this.btnXoa_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.lvData = ((System.Windows.Controls.ListView)(target));
     
     #line 48 "..\..\UCLichBieuDinhKy.xaml"
     this.lvData.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvData_SelectionChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 16
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\UCKhachHang.xaml"
                ((UserControlLibrary.UCKhachHang)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.txtTenKhachHang = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.cbbLoaiKhachHang = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.txtDuNo = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.txtDuNoToiThieu = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.txtEmail = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.txtSoNha = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.txtTenDuong = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.txtDienThoaiĐong = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.txtDienThoaiBan = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.txtFax = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.lbStatus = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.btnMoi = ((ControlLibrary.POSButtonIconHorizontal)(target));

            #line 52 "..\..\UCKhachHang.xaml"
                this.btnMoi.Click += new System.Windows.RoutedEventHandler(this.btnMoi_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 16:
                this.lvData = ((System.Windows.Controls.ListView)(target));

            #line 57 "..\..\UCKhachHang.xaml"
                this.lvData.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvData_SelectionChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 17
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\UCPhanQuyen.xaml"
     ((UserControlLibrary.UCPhanQuyen)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.cbbNhomQuyen = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 3:
     this.cbbNhanVien = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 4:
     this.ckXem = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 5:
     this.ckThem = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 6:
     this.ckXoa = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 7:
     this.ckSua = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 8:
     this.btnMoi = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 38 "..\..\UCPhanQuyen.xaml"
     this.btnMoi.Click += new System.Windows.RoutedEventHandler(this.btnMoi_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.btnThem = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 39 "..\..\UCPhanQuyen.xaml"
     this.btnThem.Click += new System.Windows.RoutedEventHandler(this.btnThem_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.btnXoa = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 40 "..\..\UCPhanQuyen.xaml"
     this.btnXoa.Click += new System.Windows.RoutedEventHandler(this.btnXoa_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.lvData = ((System.Windows.Controls.ListView)(target));
     
     #line 42 "..\..\UCPhanQuyen.xaml"
     this.lvData.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvData_SelectionChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 18
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\UCNhomQuyen.xaml"
     ((UserControlLibrary.UCNhomQuyen)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.txtNhomQuyen = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.lbStatus = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.btnMoi = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 27 "..\..\UCNhomQuyen.xaml"
     this.btnMoi.Click += new System.Windows.RoutedEventHandler(this.btnMoi_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnThem = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 28 "..\..\UCNhomQuyen.xaml"
     this.btnThem.Click += new System.Windows.RoutedEventHandler(this.btnThem_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnXoa = ((ControlLibrary.POSButtonIconHorizontal)(target));
     
     #line 29 "..\..\UCNhomQuyen.xaml"
     this.btnXoa.Click += new System.Windows.RoutedEventHandler(this.btnXoa_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.lvData = ((System.Windows.Controls.ListView)(target));
     
     #line 31 "..\..\UCNhomQuyen.xaml"
     this.lvData.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvData_SelectionChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 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;
 }