public WindowBanHang(Data.Transit transit, ControlLibrary.UCFloorPlan sodoban) { mTransit = transit; mUCFloorPlan = sodoban; InitializeComponent(); PhanQuyen(); }
public WindowThemQuyenNhanVien(Data.QUYEN quyen, Data.Transit transit) { InitializeComponent(); mTransit = transit; BOQuyenNhanVien = new Data.BOQuyenNhanVien(transit); mQuyen = quyen; }
public UCXuLyKho(Data.Transit transit) { InitializeComponent(); mTransit = transit; dtpThoiGian.SelectedDate = DateTime.Now; BOXuLyKho = new Data.BOXuLyKho(transit); }
public UCNhaCungCap(Data.Transit transit) { InitializeComponent(); mTransit = transit; BONhaCungCap = new Data.BONhaCungCap(mTransit); PhanQuyen(); }
public WindowCaiDatBan(Data.Transit transit) { InitializeComponent(); BOCaiDatBan = new Data.BOCaiDatBan(transit); mTransit = transit; btnHinh.SetTransit(transit); }
public WindowThemKhuyenMai(Data.BOMenuKichThuocMon item, Data.Transit transit, Data.BOMenuKhuyenMai bOMenuKhuyenMai) { InitializeComponent(); mTransit = transit; BOMenuKhuyenMai = bOMenuKhuyenMai; _Item = item; }
public WindowPhieuThuChi(Data.Transit transit, Data.BOThuChi bOThuChi, int loaiThuChiID) { InitializeComponent(); mTransit = transit; LoaiThuChiID = loaiThuChiID; BOThuChi = bOThuChi; }
public WindowBanHangChuyenBan(Data.Transit tran,ControlLibrary.UCFloorPlan uc) { mTransit = tran; mUCFloorPlan = uc; mBOChuyenBan = new Data.BOChuyenBan(mTransit); InitializeComponent(); }
public WindowBanHangChonBan(Data.Transit transit,bool isTachBan) { mIsTachBan = isTachBan; mTransit = transit; mBOTachGopBan = new Data.BOTachGopBan(mTransit); InitializeComponent(); }
public WindowBanHangTheoGia(Data.Transit transit, Data.MENUKICHTHUOCMON ktm) { mTransit = transit; mMENUKICHTHUOCMON = ktm; mBOMenuGia = new Data.BOMenuGia(mTransit); InitializeComponent(); }
public WindowBanHangChonBan(Data.Transit transit, bool isTachBan) { mIsTachBan = isTachBan; mTransit = transit; mBOTachGopBan = new Data.BOTachGopBan(mTransit); InitializeComponent(); }
public WindowLoaiNhom(Data.Transit transit) { InitializeComponent(); mTransit = transit; uCTile.TenChucNang = "Cài đặt thông tin"; uCTile.OnEventExit += new ControlLibrary.UCTile.OnExit(uCTile_OnEventExit); }
public UCLichBieuKhongDinhKy(Data.Transit transit) { InitializeComponent(); mTransit = transit; BOLichBieuKhongDinhKy = new Data.BOLichBieuKhongDinhKy(mTransit); PhanQuyen(); }
public UCSoDoBan(Data.Transit transit) { mTransit = transit; InitializeComponent(); btnHinhDaiDien.SetTransit(transit); btnHinhSoDoBan.SetTransit(transit); }
public UCMayIn(Data.Transit transit) { InitializeComponent(); mTransit = transit; BOMayIn = new Data.BOMayIn(mTransit); PhanQuyen(); }
public PriceManager(Data.Transit transit, Data.KaraokeEntities kara) { mTransit = transit; mKaraokeEntities = kara; mQueryMenuLoaiGia = Data.BOMenuLoaiGia.GetAllLoaiGiaRun(mKaraokeEntities, mTransit.Ban); mListMenuGia = new List <Data.BOMenuGia>(); }
public WindowBanHangTheoGia(Data.Transit transit,Data.MENUKICHTHUOCMON ktm) { mTransit = transit; mMENUKICHTHUOCMON = ktm; mBOMenuGia = new Data.BOMenuGia(mTransit); InitializeComponent(); }
public UCDanhSachKhuyenMai(Data.Transit transit) { InitializeComponent(); mTransit = transit; BOMenuKhuyenMai = new Data.BOMenuKhuyenMai(mTransit); PhanQuyen(); }
public UCNhapKho(Data.Transit transit) { InitializeComponent(); mTransit = transit; mKaraokeEntities = new Data.KaraokeEntities(); dtpThoiGian.SelectedDate = DateTime.Now; }
public WindowChuyenKho(Data.Transit transit,Data.BOChuyenKho chuyenKho,Data.KaraokeEntities kara) { InitializeComponent(); mTransit = transit; mKaraokeEntities = kara; mBOChuyenKho = chuyenKho; }
public WindowSoDoBan(Data.Transit tran) { mTransit = tran; InitializeComponent(); ucTile.SetTransit(tran); ucTile.TenChucNang = "Sơ đồ bàn"; }
public UCLoaiGia(Data.Transit transit) { InitializeComponent(); mTransit = transit; BOMenuLoaiGia = new Data.BOMenuLoaiGia(mTransit); PhanQuyen(); }
public void Init(Data.Transit transit) { mTransit = transit; BOMenuItemMayIn = new Data.BOMenuItemMayIn(mTransit); if (OnEventExit == null) btnHuy.Visibility = System.Windows.Visibility.Hidden; }
public UCNhanVien(Data.Transit transit) { InitializeComponent(); mTransit = transit; BONhanVien = new Data.BONhanVien(transit); PhanQuyen(); }
public WindowChuyenKho(Data.Transit transit, Data.BOChuyenKho chuyenKho, Data.KaraokeEntities kara) { InitializeComponent(); mTransit = transit; mKaraokeEntities = kara; mBOChuyenKho = chuyenKho; }
public UCKhachHang(Data.Transit transit) { InitializeComponent(); mTransit = transit; BOKhachHang = new Data.BOKhachHang(transit); PhanQuyen(); }
public UCKhu(Data.Transit transit) { InitializeComponent(); mTransit = transit; BOKhu = new Data.BOKhu(mTransit); PhanQuyen(); }
public void UpdateSoLuongKichThuocMon(int MonID, Data.Transit mTransit) { var Parameter_MonID = new System.Data.SqlClient.SqlParameter("@MonID", System.Data.SqlDbType.Int); Parameter_MonID.Value = MonID; mTransit.KaraokeEntities.ExecuteStoreCommand("SP_UPDATE_SOLUONGKICHTHUOCMON @MonID", Parameter_MonID); }
public UCLoaiKhachHang(Data.Transit transit) { InitializeComponent(); mTransit = transit; BOLoaiKhachHang = new Data.BOLoaiKhachHang(transit); PhanQuyen(); }
public void SapXep(int MonID, Data.Transit mTransit) { var Parameter_MonID = new System.Data.SqlClient.SqlParameter("@MonID", System.Data.SqlDbType.Int); Parameter_MonID.Value = MonID; mTransit.KaraokeEntities.ExecuteStoreCommand("SP_SAPXEP_KICHTHUOCMON @MonID", Parameter_MonID); }
public BOKhachHang(Data.Transit transit) { mTransit = transit; mKaraokeEntities = new KaraokeEntities(); frmKhachHang = new FrameworkRepository <KHACHHANG>(transit.KaraokeEntities, transit.KaraokeEntities.KHACHHANGs); frmLoaiKhachHang = new FrameworkRepository <LOAIKHACHHANG>(transit.KaraokeEntities, transit.KaraokeEntities.LOAIKHACHHANGs); }
public WindowThemCaiDatChucNang(Data.QUYEN quyen, Data.Transit transit) { InitializeComponent(); mTransit = transit; BOChiTietQuyen = new Data.BOChiTietQuyen(mTransit); mQuyen = quyen; }
public WindowMenuExport(Data.Transit transit) { mTranSit = transit; mImportExportProcess = new ExportImport.ImportExportProcess(); mImportExportProcess._OnImportExport += new ExportImport.ImportExportProcess.EventImportExport(mImportExportProcess__OnImportExport); InitializeComponent(); }
public CAIDATMAYINBEP GetAll(Data.Transit transit) { CAIDATMAYINBEP item = mKaraokeEntities.CAIDATMAYINBEPs.FirstOrDefault(); if (item == null) { item = new CAIDATMAYINBEP(); item.TitleTextFontSize = 12; item.TitleTextFontStyle = (int)SomeEnum.FontStyles.Normal; item.TitleTextFontWeights = (int)SomeEnum.FontWeights.Normal; item.InfoTextFontSize = 12; item.InfoTextFontStyle = (int)SomeEnum.FontStyles.Normal; item.InfoTextFontWeights = (int)SomeEnum.FontWeights.Normal; item.ItemTextFontSize = 12; item.ItemTextFontStyle = (int)SomeEnum.FontStyles.Normal; item.ItemTextFontWeights = (int)SomeEnum.FontWeights.Normal; item.SumTextFontSize = 12; item.SumTextFontStyle = (int)SomeEnum.FontStyles.Normal; item.SumTextFontWeights = (int)SomeEnum.FontWeights.Normal; mKaraokeEntities.CAIDATMAYINBEPs.AddObject(item); mKaraokeEntities.SaveChanges(); } return(item); }
public WindowBanHangTachBan(ControlLibrary.UCFloorPlan uc,Data.Transit transit, Data.BOTachGopBan tachban) { mTransit = transit; mUCFloorPlan = uc; mBOTachGopBan = tachban; InitializeComponent(); }
public PriceManager(Data.Transit transit,Data.KaraokeEntities kara) { mTransit = transit; mKaraokeEntities=kara; mQueryMenuLoaiGia = Data.BOMenuLoaiGia.GetAllLoaiGiaRun(mKaraokeEntities, mTransit.Ban); mListMenuGia = new List<Data.BOMenuGia>(); }
public WindowBanHangGopBan(ControlLibrary.UCFloorPlan uc, Data.Transit transit, Data.BOTachGopBan gopban) { mTransit = transit; mUCFloorPlan = uc; mBOGopBan = gopban; InitializeComponent(); }
public WindowTamTinh(Data.Transit transit, Data.BOBanHang banhang) { mTransit = transit; mBOBanHang = banhang; mBOXuliTinhTien = new Data.BOXuliTinhTien(mTransit, mBOBanHang); InitializeComponent(); }
public BOMenuMon(Data.Transit transit) { frmMon = new FrameworkRepository <MENUMON>(transit.KaraokeEntities, transit.KaraokeEntities.MENUMONs); frmNhom = new FrameworkRepository <MENUNHOM>(transit.KaraokeEntities, transit.KaraokeEntities.MENUNHOMs); frmKichThuocMon = new FrameworkRepository <MENUKICHTHUOCMON>(transit.KaraokeEntities, transit.KaraokeEntities.MENUKICHTHUOCMONs); frmItemMayIn = new FrameworkRepository <MENUITEMMAYIN>(transit.KaraokeEntities, transit.KaraokeEntities.MENUITEMMAYINs); }
public WindowBanHangChuyenBan(Data.Transit tran, ControlLibrary.UCFloorPlan uc) { mTransit = tran; mUCFloorPlan = uc; mBOChuyenBan = new Data.BOChuyenBan(mTransit); InitializeComponent(); }
public WindowMenuSetMayIn(Data.BOMenuMon mon, Data.Transit transit) { InitializeComponent(); mTransit = transit; uCMenuSetMayIn.OnEventExit += new UCMenuSetMayIn.OnExit(uCMenuSetMayIn_OnEventExit); uCMenuSetMayIn.Init(mTransit); uCMenuSetMayIn.SetValues(mon); }
public UCThuChi(Data.Transit transit) { InitializeComponent(); mTransit = transit; mProcessPrinter = new PrinterServer.ProcessPrinter(mTransit); BOThuChi = new Data.BOThuChi(transit); PhanQuyen(); }
public UCNewNhom(Data.Transit transit, Data.BOMenuNhom bOMenuNhom) { InitializeComponent(); mTransit = transit; btnHinhAnh.SetTransit(transit); BOMenuNhom = bOMenuNhom; btnHinhAnh._OnBitmapImageChanged += new POSButtonImage.EventBitmapImage(btnHinhAnh__OnBitmapImageChanged); }
public WindowCaiDatThongTinDoanhNghiep(Data.Transit transit) { InitializeComponent(); BOCaiDatThongTinCongTy = new Data.BOCaiDatThongTinCongTy(transit); mTransit = transit; btnHinhDaiDien.SetTransit(mTransit); btnLogo.SetTransit(mTransit); }