Пример #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 btn_themkh_Click(object sender, EventArgs e)
 {
     KhachHang.ThemKhachHang form = new KhachHang.ThemKhachHang();
     form.FormClosing += new FormClosingEventHandler(this.ThemSim_FormClosing);
     form.Show();
 }