private void btnCus_Click(object sender, EventArgs e) { var frm_KhachHang = new dsKhachHang(); frm_KhachHang.Location = this.Location; frm_KhachHang.StartPosition = FormStartPosition.Manual; frm_KhachHang.FormClosing += delegate { this.Show(); }; frm_KhachHang.Show(); this.Hide(); }
private void btnCus_Click(object sender, EventArgs e) { Form f = new dsKhachHang(); f.Show(); }