Example #1
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     panel2.Width += 3;
     if (panel2.Width >= 263)
     {
         timer1.Stop();
         telalogin telalogin = new telalogin();
         telalogin.Show();
         this.Hide();
     }
 }
Example #2
0
 private void button9_Click(object sender, EventArgs e)
 {
     if (DialogResult.Yes == MessageBox.Show("Tem certeza que deseja trocar de conta?", "Aviso", MessageBoxButtons.YesNo, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button2))
     {
         this.Hide();
         telalogin Form1 = new telalogin();
         Form1.ShowDialog();
     }
     else
     {
     }
 }