Exemple #1
0
        protected void OnCerrarActionActivated(object sender, EventArgs e)
        {
            this.Destroy ();

            IniciarSesionDialog IniciarSesion = new IniciarSesionDialog ();

            try {
                IniciarSesion.Run ();
                IniciarSesion.Destroy ();
            } catch (MySql.Data.MySqlClient.MySqlException ex) {
                IniciarSesion.Destroy ();

            }
        }
Exemple #2
0
 protected void OnIniciarSesionActionActivated(object sender, EventArgs e)
 {
     IniciarSesionDialog rcd = new IniciarSesionDialog();
     try
     {
         rcd.Run();
         rcd.Destroy();
     }
     catch (MySql.Data.MySqlClient.MySqlException ex)
     {
         rcd.Destroy();
     #if DEBUG
         Console.WriteLine(ex.Message);
     #endif
     }
 }