public frmMuonSach() { InitializeComponent(); txtNV.Text = nvB.getFullNamebyUsername(Form1.username).TenNV; load(); txtNV.Enabled = false; disable(); btnLuu.Enabled = false; }
public frmTraSach() { InitializeComponent(); load(); txtNT.Text = DateTime.Now.ToString().Trim(); txtNV.Text = nvB.getFullNamebyUsername(Form1.username).TenNV; disable(); }
private void btnSua_Click(object sender, EventArgs e) { enable(); check = false; nvBUS nvB = new nvBUS(); txtNguoiLap.Text = nvB.getFullNamebyUsername(Form1.username).TenNV; btnLuu.Enabled = true; }
private void btnThem_Click(object sender, EventArgs e) { enable(); clear(); nvBUS nvB = new nvBUS(); txtNguoiLap.Text = (nvB.getFullNamebyUsername(Form1.username).TenNV); check = true; btnLuu.Enabled = true; }