Пример #1
0
        private void button16_Click(object sender, EventArgs e)
        {
            F11Main ob1 = new F11Main();

            this.Hide();
            ob1.FormClosed += (s, args) => this.Close();
            ob1.Show();
            ob1.Focus();
        }
Пример #2
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     progressBar1.Visible = true;
     //Its for robot animations
     //pictureBox2.Visible = pictureBox2.Visible == true ? false : true;
     progressBar1.Value = progressBar1.Value + 2;
     if (progressBar1.Value > 20)
     {
         label1.Visible = true;
     }
     if (progressBar1.Value > 99)
     {
         F11Main ob1 = new F11Main();
         ob1.Show();
         this.Hide();
         timer1.Enabled = false;
     }
 }