예제 #1
0
 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();
 }
예제 #2
0
 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();
 }