private void barbuttaikhoan_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { FormTaiKhoan tk = new FormTaiKhoan(); tk.MdiParent = this; tk.Show(); }
public void LoadMaNV(FormTaiKhoan ftk) { var dl = data.Database().NHANVIENs.ToList(); ftk.comboboxmanv.DataSource = dl; ftk.comboboxmanv.DisplayMember = "MANV"; ftk.comboboxmanv.ValueMember = "MANV"; }
public void LoadData(FormTaiKhoan ftk) { var dl = data.Database().TAIKHOANs.ToList(); ftk.gridControltaikhoan.DataSource = dl; }