Example #1
0
 public SuaKhachHang(KhachHangForm form, string KhId)
     : this()
 {
     parentForm  = form;
     KhachHangId = KhId;
     GetCurrentData(KhId);
 }
Example #2
0
 private void KhachHangBtn_Click(object sender, EventArgs e)
 {
     if (Application.OpenForms.OfType <KhachHangForm>().Count() == 1)
     {
         Application.OpenForms.OfType <KhachHangForm>().First().Focus();
     }
     else
     {
         var form = new KhachHangForm();
         form.Show();
     }
 }
Example #3
0
 public ThemKhachHang(KhachHangForm form)
     : this()
 {
     parentForm = form;
 }