private void btnTaiKhoan_Click(object sender, EventArgs e) { this.Hide(); frmTaiKhoan frm = new frmTaiKhoan(); frm.ShowDialog(); this.Dispose(); }
private void btnTaiKhoan_Click(object sender, EventArgs e) { if (TK == null || TK.IsDisposed) { TK = new frmTaiKhoan(); TK.MdiParent = this; TK.Show(); } else { TK.Activate(); } }