private void button2_Click(object sender, EventArgs e) { Infos inf = new Infos(); inf.Show(); this.Close(); }
private void timer1_Tick(object sender, EventArgs e) { if (progressBar1.Value < 100) { progressBar1.Value += 10; } else if (progressBar1.Value >= 100) { this.Hide(); Infos inf = new Infos(); inf.Show(); timer1.Enabled = false; } else { } }