Пример #1
0
 private void bt_Them_Click(object sender, EventArgs e)
 {
     QL.Them_NgQuanLy(txt_MaNgQuanLy.Text, txt_TenNgQuanLy.Text, txt_NamSinh.Text, Rtxt_QueQuan.Text, txt_CMND.Text, txt_SDT.Text, Rtxt_DiaChi.Text);
     if (fNK != null)
     {
         fNK.load();
     }
     ;
     if (fXK != null)
     {
         fXK.load();
     }
     ;
     if (QL1 != null)
     {
         QL1.load();
     }
     ;
     if (TK != null)
     {
         TK.load();
     }
     ;
     this.Close();
 }
Пример #2
0
 private void bt_Them_Click(object sender, EventArgs e)
 {
     NCC.insert(txt_MaNCC.Text, txt_TenNCC.Text, txt_SDT.Text, txt_DiaChi.Text);
     if (fNK != null)
     {
         fNK.load();
     }
     ;
     if (fNCC != null)
     {
         fNCC.load();
     }
     ;
     this.Close();
 }
Пример #3
0
 private void bt_Them_Click(object sender, EventArgs e)
 {
     K.insertData(txt_MaKho.Text, txt_TenKho.Text, Rtxt_DiaChi.Text, txt_SDT.Text, cmb_NgQuanLy.SelectedValue.ToString());
     if (fNK != null)
     {
         fNK.load();
     }
     ;
     if (fK != null)
     {
         fK.load();
     }
     ;
     //fK.load();
     this.Close();
 }
Пример #4
0
 private void bt_Them_Click(object sender, EventArgs e)
 {
     SP.insertData(txt_MaSP.Text, txt_TenSP.Text, cmb_LoaiSP.SelectedValue.ToString(), cmb_MaNCC.SelectedValue.ToString(), Rtxt_ThongTin.Text, txt_GiaBan.Text, txt_BaoHanh.Text);
     if (fNK != null)
     {
         fNK.load();
     }
     ;
     if (FSP != null)
     {
         FSP.load();
     }
     ;
     //FSP.load();
     this.Close();
 }