示例#1
0
        private void btnAdmin_Click(object sender, EventArgs e)
        {
            this.Hide();
            AdminAuthenticator openInstance = new AdminAuthenticator();

            openInstance.ShowDialog();
            Environment.Exit(0);
        }
示例#2
0
        private void btnAdmin_Click(object sender, EventArgs e)
        {
            // Opens the admin authenticator and has the admin sign in.
            // Also closes the previous windows form.
            // - MW
            this.Hide();
            AdminAuthenticator openInstance = new AdminAuthenticator();

            openInstance.ShowDialog();
            Environment.Exit(0);
        }