Beispiel #1
0
 public frmDatBan(DangNhap input)
 {
     InitializeComponent();
     login                     = input;
     tableList                 = TableBUS.LoadAll();
     selected                  = new List <DataTable>(tableList.Count);
     dgv.DataSource            = BillDetailBUS.LoadAll(0);
     dgv.Columns[0].Visible    = false;
     dgv.Columns[1].HeaderText = "Tên món";
     dgv.Columns[2].HeaderText = "Số lượng";
     dgv.Columns[2].DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight;
     dgv.Columns[3].HeaderText = "Thành tiền";
     dgv.Columns[3].DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight;
 }
Beispiel #2
0
 public frmDoiMatKhau(DangNhap l)
 {
     InitializeComponent();
     login = l;
 }