Example #1
0
        private void BtAdmin_Click(object sender, EventArgs e)
        {
            foAdmin foAdmin = new foAdmin();

            this.Hide();
            foAdmin.ShowDialog();
        }
Example #2
0
        private void adminToolStripMenuItem_Click(object sender, EventArgs e)
        {
            foAdmin af = new foAdmin();

            this.Hide();
            af.ShowDialog();
            this.Show();
        }