Exemplo n.º 1
0
        private void FormUsers_FormClosing(object sender, FormClosingEventArgs e)
        {
            authForm authForm = new authForm();
            mainForm mainForm = new mainForm();

            if (authForm.role == 1)
            {
                authForm.Show();
            }
            else
            {
                mainForm.Show();
            }
        }
Exemplo n.º 2
0
        private void mainForm_FormClosed(object sender, FormClosedEventArgs e)
        {
            authForm authForm = new authForm();

            authForm.Show();
        }