Пример #1
0
        private void btnSetRole_Click(object sender, EventArgs e)
        {
            var roleForm = new RoleForm();
            var setRole  = new SetUserRoleForm();

            roleForm.Hide();
            setRole.Show();
        }
Пример #2
0
        private void SetUserRoleForm_FormClosed(object sender, FormClosedEventArgs e)
        {
            var mainForm = new MainForm();
            var setRole  = new SetUserRoleForm();

            setRole.Hide();
            mainForm.Show();
        }