Exemple #1
0
 private void bntThem_Click(object sender, EventArgs e)
 {
     bntLuu.Enabled           = true;
     dataGridView1.DataSource = null;
     ResetValues();
     txtMaPNH.Text = ThucThiSql.CreateKey("PNH");
 }
Exemple #2
0
 private void bntThem_Click(object sender, EventArgs e)
 {
     txtMaNCC.Text  = ThucThiSql.CreateKey("NCC");
     txtTenNCC.Text = "";
     txtSDTNCC.Text = "";
     txtDiaChi.Text = "";
     //txtMaNCC.Enabled = true;
 }
Exemple #3
0
 private void bntThem_Click(object sender, EventArgs e)
 {
     // txtMaNV.Text = "";
     txtTenNV.Text = "";
     txtSDTNV.Text = "";
     txtMaNV.Text  = ThucThiSql.CreateKey("NV");
     // txtMaNV.Enabled = true;
 }
Exemple #4
0
 private void bntThen_Click(object sender, EventArgs e)
 {
     //txtMaKH.Text = "";
     txtTenKH.Text  = "";
     txtSDTKH.Text  = "";
     txtDiaChi.Text = "";
     //txtMaKH.Enabled = true;
     txtMaKH.Text = ThucThiSql.CreateKey("KH");
 }
Exemple #5
0
 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  = "";
 }
Exemple #6
0
 private void bntThem_Click(object sender, EventArgs e)
 {
     txtMaLSP.Text  = ThucThiSql.CreateKey("LSP");
     txtTenLSP.Text = "";
 }