private void timer1_Tick(object sender, EventArgs e)
 {
     panel6.Width += 6;
     if (panel6.Width >= 309)
     {
         timer1.Stop();
         this.Close();
         btnnn tela = new btnnn(Nomeusuario.Text);
         tela.ShowDialog();
     }
 }
Пример #2
0
 private void timer2_Tick(object sender, EventArgs e)
 {
     panel6.Width += 10;
     if (panel6.Width >= 309)
     {
         timer2.Stop();
         this.Close();
         btnnn tela = new btnnn();
         tela.ShowDialog();
     }
 }
        private void btnCont_Click_1(object sender, EventArgs e)
        {
            btnnn cardapio = new btnnn();

            cardapio.ShowDialog();
        }