Example #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            FManHinhChinh f2 = new FManHinhChinh();

            this.Hide();
            f2.ShowDialog();
            this.Close();
        }
Example #2
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     try
     {
         rectangleShape2.Width += 3;
         if (rectangleShape2.Width >= 110)
         {
             timer1.Stop();
             FManHinhChinh fm2 = new FManHinhChinh();
             this.Hide();
             fm2.ShowDialog();
             this.Close();
         }
     }
     catch (Exception)
     {
         return;
     }
 }