private void btnVoltar_Click(object sender, EventArgs e) { inicio chama = new inicio(); chama.Show(); this.Visible = false; }
private void timer1_Tick(object sender, EventArgs e) { if (progressBar1.Value < 100) { progressBar1.Value = progressBar1.Value + 2; } else { timer1.Stop(); this.Visible = false; inicio chma = new inicio(); chma.Show(); } }