private void btvoltar_Click(object sender, EventArgs e) { FRMPrincipal p = new FRMPrincipal(list); p.Show(); this.Visible = false; }
private void timer1_Tick(object sender, EventArgs e) { if (progressBar1.Value < 100) { progressBar1.Value = progressBar1.Value + 2; } else { timer1.Enabled = false; FRMPrincipal p = new FRMPrincipal(list); p.Show(); this.Visible = false; } }