示例#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();
            }
        }
示例#2
0
        private void mainForm_FormClosed(object sender, FormClosedEventArgs e)
        {
            authForm authForm = new authForm();

            authForm.Show();
        }