private void button1_Click(object sender, EventArgs e) { Paquetes pa = new Paquetes(); pa.Show(); this.Close(); }
public void timer1_Tick(object sender, EventArgs e) { progressbar.Value++; progressbar.Text = progressbar.Value.ToString() + "%";; if (progressbar.Value == 100) { timer1.Enabled = false; Paquetes a = new Paquetes(); a.Show(); this.Hide(); } }