private void btnAddSP_Click(object sender, EventArgs e)
 {
     SetNULL();
     txbSanPham_maSP.Text = "SP";
     SetBtnLock(true);
     SetLock(true);
     coThem = true;
     f.TextBtnSave(btnSanPham_save, btnSanPham_clear);
     f.FontBtn(btnSanPham_save, btnSanPham_clear);
 }
 private void btnAddLoaiSP_Click(object sender, EventArgs e)
 {
     SetNULL();
     txbLoaiSP_maLoai.Text = "VL";
     SetLock(true);
     SetBtnLock(false);
     coThem = true;
     f.TextBtnSave(btnLoaiSP_save, btnLoaiSP_clear);
     f.FontBtn(btnLoaiSP_save, btnLoaiSP_clear);
 }
Exemplo n.º 3
0
 private void btnAddSP_Click(object sender, EventArgs e)
 {
     //dgvKhachHang.Enabled = false;
     SetNULL();
     txbMaKHOfKH.Text     = "KH";
     txbNoCuoiKiOfKH.Text = "0";
     txbNoDauKiOfKH.Text  = "0";
     SetLock(true);
     SetBtn(false);
     coThem = true;
     f.TextBtnSave(btnSaveKH, btnClearKH);
     f.FontBtn(btnSaveKH, btnClearKH);
 }