private void button4_Click(object sender, EventArgs e) { IdMenuPrincipal menuPrincipal = new IdMenuPrincipal(); menuPrincipal.Show(); this.Hide(); }
private void tmrBarraProgreso_Tick(object sender, EventArgs e) { this.brdProgresos.Increment(1); if (brdProgresos.Value >= brdProgresos.Maximum) { this.Hide(); this.tmrBarraProgreso.Stop(); IdMenuPrincipal frmMenu = new IdMenuPrincipal(); frmMenu.Show(); } }