Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            MainMenuAdmin admin = new MainMenuAdmin(); //creates an instance

            admin.Show();                              //this is how you show the interface.
        }
Пример #2
0
        private void adminBtn_Click(object sender, EventArgs e)
        {
            MainMenuAdmin admin = new MainMenuAdmin(); //creates an instance

            admin.Show();
        }