private void Form1_Load(object sender, EventArgs e) { // ------- Cargamos y mostramos el formulario Splash durante 3 segundos ----- frmSplash f1 = new frmSplash(3); f1.ShowDialog(this); // Mostramos el formulario de forma modal. f1.Dispose(); }
private void Form1_Load(object sender, EventArgs e) { // ------- Cargamos y mostramos el formulario Splash durante 3 segundos ----- try { cargaCodop(); }catch(Exception ex) { MessageBox.Show("Error: "+Convert.ToString(ex)); } frmSplash f1 = new frmSplash(3); f1.ShowDialog(this); // Mostramos el formulario de forma modal. f1.Dispose(); }