Esempio n. 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Login_Page login = new Login_Page();

            login.Show();
            this.Hide();
        }
Esempio n. 2
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     label3.Text = Convert.ToString(Convert.ToInt32(label3.Text) - 1);
     progressBar1.PerformStep();
     if (label3.Text == "1")
     {
         label4.Text = "second...";
     }
     if (label3.Text == "0")
     {
         this.Hide();
         Login_Page sist = new Login_Page();
         sist.ShowDialog();
         this.Hide();
     }
 }