예제 #1
0
 private void bt_Them_Click(object sender, EventArgs e)
 {
     KH.insertData(txt_MaSP.Text, txt_TenSP.Text, txt_GiaBan.Text, textBox1.Text);
     if (fHDB != null)
     {
         fHDB.load();
     }
     ;
     if (fKH != null)
     {
         fKH.load();
     }
     ;
     //fKH.load();
     this.Close();
 }
예제 #2
0
 private void bt_Them_Click(object sender, EventArgs e)
 {
     KH.update(txt_MaKH.Text, txt_TenKH.Text, txt_SDT.Text, txt_SoHD.Text);
     fKH.load();
     this.Close();
 }