void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnKhuyenMai = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 18 "..\..\WindowQuanLyGiaKhuyenMai.xaml"
                this.btnKhuyenMai.Click += new System.Windows.RoutedEventHandler(this.btnKhuyenMai_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.btnLichBieuDinhKy = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 19 "..\..\WindowQuanLyGiaKhuyenMai.xaml"
                this.btnLichBieuDinhKy.Click += new System.Windows.RoutedEventHandler(this.btnLichBieuDinhKy_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnLichBieuKhongDinhKy = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 20 "..\..\WindowQuanLyGiaKhuyenMai.xaml"
                this.btnLichBieuKhongDinhKy.Click += new System.Windows.RoutedEventHandler(this.btnLichBieuKhongDinhKy_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnLoaiGia = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 21 "..\..\WindowQuanLyGiaKhuyenMai.xaml"
                this.btnLoaiGia.Click += new System.Windows.RoutedEventHandler(this.btnLoaiGia_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.spNoiDung = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:
                this.btnPhanQuyen = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 18 "..\..\WindowQuanLyPhanQuyen.xaml"
                this.btnPhanQuyen.Click += new System.Windows.RoutedEventHandler(this.btnPhanQuyen_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnNhomQuyen = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 19 "..\..\WindowQuanLyPhanQuyen.xaml"
                this.btnNhomQuyen.Click += new System.Windows.RoutedEventHandler(this.btnNhomQuyen_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnNhomQuyenNhanVien = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 20 "..\..\WindowQuanLyPhanQuyen.xaml"
                this.btnNhomQuyenNhanVien.Click += new System.Windows.RoutedEventHandler(this.btnNhomQuyenNhanVien_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.spNoiDung = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\WindowQuanLyPhanQuyen.xaml"
     ((GUI.WindowQuanLyPhanQuyen)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.btnPhanQuyen = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 18 "..\..\WindowQuanLyPhanQuyen.xaml"
     this.btnPhanQuyen.Click += new System.Windows.RoutedEventHandler(this.btnPhanQuyen_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.btnNhomQuyen = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 19 "..\..\WindowQuanLyPhanQuyen.xaml"
     this.btnNhomQuyen.Click += new System.Windows.RoutedEventHandler(this.btnNhomQuyen_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.btnNhomQuyenNhanVien = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 20 "..\..\WindowQuanLyPhanQuyen.xaml"
     this.btnNhomQuyenNhanVien.Click += new System.Windows.RoutedEventHandler(this.btnNhomQuyenNhanVien_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.spNoiDung = ((System.Windows.Controls.StackPanel)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.btnKhuyenMai = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 18 "..\..\WindowQuanLyGiaKhuyenMai.xaml"
     this.btnKhuyenMai.Click += new System.Windows.RoutedEventHandler(this.btnKhuyenMai_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.btnLichBieuDinhKy = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 19 "..\..\WindowQuanLyGiaKhuyenMai.xaml"
     this.btnLichBieuDinhKy.Click += new System.Windows.RoutedEventHandler(this.btnLichBieuDinhKy_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.btnLichBieuKhongDinhKy = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 20 "..\..\WindowQuanLyGiaKhuyenMai.xaml"
     this.btnLichBieuKhongDinhKy.Click += new System.Windows.RoutedEventHandler(this.btnLichBieuKhongDinhKy_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.btnLoaiGia = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 21 "..\..\WindowQuanLyGiaKhuyenMai.xaml"
     this.btnLoaiGia.Click += new System.Windows.RoutedEventHandler(this.btnLoaiGia_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.spNoiDung = ((System.Windows.Controls.StackPanel)(target));
     return;
     }
     this._contentLoaded = true;
 }
Пример #5
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.btnBanHang = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 20 "..\..\MainWindow.xaml"
     this.btnBanHang.Click += new System.Windows.RoutedEventHandler(this.btnBanHang_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.btnQuanLyNhanVien = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 21 "..\..\MainWindow.xaml"
     this.btnQuanLyNhanVien.Click += new System.Windows.RoutedEventHandler(this.btnQuanLyNhanVien_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.btnQuanLyMayIn = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 22 "..\..\MainWindow.xaml"
     this.btnQuanLyMayIn.Click += new System.Windows.RoutedEventHandler(this.btnQuanLyMayIn_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.btnQuanLyThucDon = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 23 "..\..\MainWindow.xaml"
     this.btnQuanLyThucDon.Click += new System.Windows.RoutedEventHandler(this.btnQuanLyThucDon_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnQuanLyKhachHang = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 24 "..\..\MainWindow.xaml"
     this.btnQuanLyKhachHang.Click += new System.Windows.RoutedEventHandler(this.btnQuanLyKhachHang_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnQuanLyThuChi = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 25 "..\..\MainWindow.xaml"
     this.btnQuanLyThuChi.Click += new System.Windows.RoutedEventHandler(this.btnQuanLyThuChi_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btnQuanLyGiaKhuyenMai = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 26 "..\..\MainWindow.xaml"
     this.btnQuanLyGiaKhuyenMai.Click += new System.Windows.RoutedEventHandler(this.btnQuanLyGiaKhuyenMai_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btnQuanLyPhanQuyen = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 27 "..\..\MainWindow.xaml"
     this.btnQuanLyPhanQuyen.Click += new System.Windows.RoutedEventHandler(this.btnQuanLyPhanQuyen_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.btnQuanLyKhoHang = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 28 "..\..\MainWindow.xaml"
     this.btnQuanLyKhoHang.Click += new System.Windows.RoutedEventHandler(this.btnQuanLyKhoHang_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.btnQuanLyDinhLuong = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 29 "..\..\MainWindow.xaml"
     this.btnQuanLyDinhLuong.Click += new System.Windows.RoutedEventHandler(this.btnQuanLyDinhLuong_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.btnQuanSoDoBan = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 30 "..\..\MainWindow.xaml"
     this.btnQuanSoDoBan.Click += new System.Windows.RoutedEventHandler(this.btnQuanSoDoBan_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.btnBaoCaoThongKe = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 31 "..\..\MainWindow.xaml"
     this.btnBaoCaoThongKe.Click += new System.Windows.RoutedEventHandler(this.btnBaoCaoThongKe_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.btnThongTinCongTy = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 32 "..\..\MainWindow.xaml"
     this.btnThongTinCongTy.Click += new System.Windows.RoutedEventHandler(this.btnThongTinCongTy_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.btnThongTinPhanMem = ((ControlLibrary.POSButtonIconVertical)(target));
     
     #line 33 "..\..\MainWindow.xaml"
     this.btnThongTinPhanMem.Click += new System.Windows.RoutedEventHandler(this.btnThongTinPhanMem_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Пример #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnBanHang = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 20 "..\..\MainWindow.xaml"
                this.btnBanHang.Click += new System.Windows.RoutedEventHandler(this.btnBanHang_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.btnQuanLyNhanVien = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.btnQuanLyNhanVien.Click += new System.Windows.RoutedEventHandler(this.btnQuanLyNhanVien_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnQuanLyMayIn = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 22 "..\..\MainWindow.xaml"
                this.btnQuanLyMayIn.Click += new System.Windows.RoutedEventHandler(this.btnQuanLyMayIn_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnQuanLyThucDon = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 23 "..\..\MainWindow.xaml"
                this.btnQuanLyThucDon.Click += new System.Windows.RoutedEventHandler(this.btnQuanLyThucDon_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnQuanLyKhachHang = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 24 "..\..\MainWindow.xaml"
                this.btnQuanLyKhachHang.Click += new System.Windows.RoutedEventHandler(this.btnQuanLyKhachHang_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnQuanLyThuChi = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 25 "..\..\MainWindow.xaml"
                this.btnQuanLyThuChi.Click += new System.Windows.RoutedEventHandler(this.btnQuanLyThuChi_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnQuanLyGiaKhuyenMai = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 26 "..\..\MainWindow.xaml"
                this.btnQuanLyGiaKhuyenMai.Click += new System.Windows.RoutedEventHandler(this.btnQuanLyGiaKhuyenMai_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnQuanLyPhanQuyen = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 27 "..\..\MainWindow.xaml"
                this.btnQuanLyPhanQuyen.Click += new System.Windows.RoutedEventHandler(this.btnQuanLyPhanQuyen_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnQuanLyKhoHang = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 28 "..\..\MainWindow.xaml"
                this.btnQuanLyKhoHang.Click += new System.Windows.RoutedEventHandler(this.btnQuanLyKhoHang_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.btnQuanLyDinhLuong = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 29 "..\..\MainWindow.xaml"
                this.btnQuanLyDinhLuong.Click += new System.Windows.RoutedEventHandler(this.btnQuanLyDinhLuong_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.btnQuanSoDoBan = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 30 "..\..\MainWindow.xaml"
                this.btnQuanSoDoBan.Click += new System.Windows.RoutedEventHandler(this.btnQuanSoDoBan_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btnBaoCaoThongKe = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 31 "..\..\MainWindow.xaml"
                this.btnBaoCaoThongKe.Click += new System.Windows.RoutedEventHandler(this.btnBaoCaoThongKe_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.btnThongTinCongTy = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 32 "..\..\MainWindow.xaml"
                this.btnThongTinCongTy.Click += new System.Windows.RoutedEventHandler(this.btnThongTinCongTy_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btnThongTinPhanMem = ((ControlLibrary.POSButtonIconVertical)(target));

            #line 33 "..\..\MainWindow.xaml"
                this.btnThongTinPhanMem.Click += new System.Windows.RoutedEventHandler(this.btnThongTinPhanMem_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }