private void button2_Click(object sender, EventArgs e)
        {
            MenuAdmin menuAdmin = new MenuAdmin();

            menuAdmin.Show();
            this.Hide();
        }
Пример #2
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     panel2.Width += 3;
     if (panel2.Width >= 700)
     {
         timer1.Stop();
         MenuAdmin menuAdmin = new MenuAdmin();
         menuAdmin.Show();
         this.Hide();
     }
 }