Exemple #1
0
 public Form_TN_DatMon()
 {
     InitializeComponent();
     db      = new QLCFDataContext();
     bbll    = new BanBLL();
     hdbll   = new HoaDonBLL();
     tdbll   = new ThucDonBLL();
     ltdbll  = new LoaiThucDonBLL();
     cthdbll = new ChiTietHoaDonBLL();
     nvbll   = new NhanVienBLL();
 }
Exemple #2
0
 public frmMain()
 {
     InitializeComponent();
     dbBan          = new BanBLL();
     dbHoaDon       = new HoaDonBLL();
     lbMaNVTN.Text  = DataAccessLayer.DAL.user;
     maNVTN         = lbMaNVTN.Text;
     btnNV.Visible  = false;
     btnMon.Visible = false;
     LoadBan();
 }
 public Form_QL_QuanLyBan()
 {
     InitializeComponent();
     db   = new QLCFDataContext();
     bbll = new BanBLL();
 }