private void bntThem_Click(object sender, EventArgs e) { bntLuu.Enabled = true; dataGridView1.DataSource = null; ResetValues(); txtMaPNH.Text = ThucThiSql.CreateKey("PNH"); }
private void bntThem_Click(object sender, EventArgs e) { txtMaNCC.Text = ThucThiSql.CreateKey("NCC"); txtTenNCC.Text = ""; txtSDTNCC.Text = ""; txtDiaChi.Text = ""; //txtMaNCC.Enabled = true; }
private void bntThem_Click(object sender, EventArgs e) { // txtMaNV.Text = ""; txtTenNV.Text = ""; txtSDTNV.Text = ""; txtMaNV.Text = ThucThiSql.CreateKey("NV"); // txtMaNV.Enabled = true; }
private void bntThen_Click(object sender, EventArgs e) { //txtMaKH.Text = ""; txtTenKH.Text = ""; txtSDTKH.Text = ""; txtDiaChi.Text = ""; //txtMaKH.Enabled = true; txtMaKH.Text = ThucThiSql.CreateKey("KH"); }
private void bntThem_Click(object sender, EventArgs e) { txtMaSP.Text = ThucThiSql.CreateKey("SP"); // txtMaSP.Text = ""; txtTenSP.Text = ""; txtSoLuong.Text = ""; txtDonGiaN.Text = ""; cboMaLSP.Text = ""; cboSize.Text = ""; txtColor.Text = ""; txtDonGiaB.Text = ""; txtTenLSP.Text = ""; }
private void bntThem_Click(object sender, EventArgs e) { txtMaLSP.Text = ThucThiSql.CreateKey("LSP"); txtTenLSP.Text = ""; }