Ejemplo n.º 1
0
        private void button3_Click(object sender, EventArgs e)
        {
            MessageBox.Show("I HOPE YOU ENJOYED THE GAME. \n COME BACK AGAIN.", "Tony Blair", MessageBoxButtons.OK, MessageBoxIcon.None);
            social sc = new social();

            sc.Show();
            this.Hide();
        }
Ejemplo n.º 2
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     Progress += 1;
     if (Progress >= 100)
     {
         timer1.Enabled = false;
         timer1.Stop();
         MessageBox.Show("The code confirmed! Proceed.", "CONFIRMATION DONE", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
         social sc = new social();
         sc.Show();
         this.Hide();
     }
     else
     {
         progressBar2.Value = Progress;
     }
 }