Beispiel #1
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     progressBar1.Show();
     this.progressBar1.Increment(11);
     if (Convert.ToInt32(progressBar1.Value) > 99)
     {
         timer1.Enabled = false;
         this.Close();
         TestIQ x = new TestIQ();
         x.Show();
     }
 }
Beispiel #2
0
        public void label3_Click(object sender, EventArgs e)
        {
            Meniu.array[++Meniu.nr]     = 60 - (duration / 1000);
            Meniu.rasp[++Meniu.nr_rasp] = 0;
            if (Meniu.id_intrebare == 31)
            {
                label3.Click -= label3_Click;
            }
            else
            {
                this.Close();

                TestIQ f2 = new TestIQ();
                f2.Show();
            }
        }
Beispiel #3
0
        public void radioButton5_CheckedChanged(object sender, EventArgs e)
        {
            Meniu.array[++Meniu.nr]     = 60 - (duration / 1000);
            Meniu.rasp[++Meniu.nr_rasp] = 6;
            if (Meniu.id_intrebare <= 30)
            {
                if (Meniu.corect == 6)
                {
                    Autentificare.score++;
                    Meniu.corecte++;


                    this.Close();

                    TestIQ f2 = new TestIQ();
                    f2.Show();
                }

                else
                {
                    Meniu.gresite++;

                    this.Close();

                    TestIQ f2 = new TestIQ();
                    f2.Show();
                }
            }
            else
            {
                if (Meniu.corect == 6)
                {
                    Meniu.corecte++;

                    Autentificare.score++;
                    this.Close();
                }
                this.Close();
                TestFinalizat f2 = new TestFinalizat();
                f2.Show();
            }
        }
 private void timer1_Tick(object sender, EventArgs e)
 {
     progressBar2.Show();
     this.progressBar2.Increment(11);
     if (Convert.ToInt32(progressBar2.Value) > 99)
     {
         timer1.Enabled = false;
         if (button1WasClicked)
         {
             this.Close();
             TestIQ x = new TestIQ();
             x.Show();
         }
         else
         {
             this.Close();
             Meniu x = new Meniu();
             x.Show();
         }
     }
 }