Example #1
0
        private void registrationReguestToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormWaitingRegistrations registrations = new FormWaitingRegistrations(AdminID);

            registrations.Show();
            this.Close();
        }
Example #2
0
        private void SwitchToAdmin_Click(object sender, EventArgs e)
        {
            FormWaitingRegistrations admin = new FormWaitingRegistrations(UserID);

            admin.Show();
            this.Close();
            admin.FormClosed += new FormClosedEventHandler(AdminForm_FormClosed);
        }