Esempio n. 1
0
 public GUI_NHTS(TAIKHOAN tmp)
 {
     ctl = new BUS_NHTS();
     TK  = tmp;
     db  = new CMART8Entities();
     InitializeComponent();
     controlFunction(TK.QUYEN);
 }
Esempio n. 2
0
 public GUI_CTTS(TAIKHOAN tmp, PHIEUNHAPHANGTRUSO tmp2)
 {
     TK  = tmp;
     PN  = tmp2;
     ctl = new BUS_NHTS();
     db  = new CMART8Entities();
     InitializeComponent();
     txtNg.Text = TK.HOTEN;
 }
Esempio n. 3
0
 public GUI_CTTS_Update(TAIKHOAN tmp, PHIEUNHAPHANGTRUSO tmp2)
 {
     TK  = tmp;
     PN  = tmp2;
     ctl = new BUS_NHTS();
     udt = new BUS_NHTS_Update();
     db  = new CMART8Entities();
     InitializeComponent();
     txtNg.Text   = TK.HOTEN;
     cbSP.Text    = PN.SOPHIEUDX;
     txtNgay.Text = PN.NGAYNHAP.ToString();
 }