예제 #1
0
 private void btn_themkh_Click(object sender, EventArgs e)
 {
     KhachHang.ThemKhachHang form = new KhachHang.ThemKhachHang();
     //khi đóng form themkhachhang sẽ chạy method main_formclosing
     //form.formclosing += new formclosingeventhandler(this.main_formclosing);
     form.FormClosing += new FormClosingEventHandler(this.ThemSim_FormClosing);
     form.Show();
 }
예제 #2
0
 private void btnThemKhachHang_Click(object sender, EventArgs e)
 {
     KhachHang.ThemKhachHang them = new KhachHang.ThemKhachHang();
     them.ShowDialog();
     LoaddgvKhachHang();
 }
예제 #3
0
 private void btn_themkh_Click(object sender, EventArgs e)
 {
     KhachHang.ThemKhachHang form = new KhachHang.ThemKhachHang();
     form.FormClosing += new FormClosingEventHandler(this.ThemSim_FormClosing);
     form.Show();
 }