private void SubMenu_DoiMK_Click(object sender, EventArgs e) { frm_DoiMatKhau frm1 = new frm_DoiMatKhau { StartPosition = FormStartPosition.CenterParent }; frm1.ShowDialog(); }
private void btnDoiMatKhau_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { frm_DoiMatKhau changepass = null; if (changepass == null || changepass.IsDisposed) { changepass = new frm_DoiMatKhau(); } changepass.ShowDialog(); }