private void ChangeRoleToolStripMenuItem_Click(object sender, EventArgs e) { var roleFrm = new RoleForm(this); roleFrm.LoginBtnClicked += RoleFrm_LoginBtnClicked; roleFrm.ShowDialog(); }
private void OpenRoleForm() { var roleFrm = new RoleForm(MainFrm); roleFrm.LoginBtnClicked += RoleFrm_LoginBtnClicked; roleFrm.ShowDialog(); }