private void btnShowRoleForm_Click(object sender, EventArgs e) { var roleForm = new RoleForm(); this.Hide(); roleForm.Show(); }
private void btnSetRole_Click(object sender, EventArgs e) { var roleForm = new RoleForm(); var setRole = new SetUserRoleForm(); roleForm.Hide(); setRole.Show(); }
private void RoleForm_FormClosed(object sender, FormClosedEventArgs e) { var mainForm = new MainForm(); var roleForm = new RoleForm(); roleForm.Hide(); mainForm.Show(); }