Beispiel #1
0
 private void backupToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Configuraciones.Configuraciones configs = new Configuraciones.Configuraciones();
     configs.currentForm = new Configuraciones.Backup();
     configs.ShowDialog();
     configs.Dispose();
 }
Beispiel #2
0
 private void Login_Load(object sender, EventArgs e)
 {
     if (UserempDAL.testConexion())
     {
         if (!UserempDAL.verificarUseremp())
         {
             Forms.frmWelcome welcome = new Forms.frmWelcome();
             welcome.ShowDialog();
         }
         else
         {
             txtLogin.Text = Properties.Settings.Default.LastUser;
         }
     }
     else
     {
         Configuraciones.Configuraciones configs = new Configuraciones.Configuraciones();
         configs.currentForm = new Configuraciones.DataBase();
         configs.ShowDialog();
     }
 }
Beispiel #3
0
 private void linkConexiones_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     Configuraciones.Configuraciones configs = new Configuraciones.Configuraciones();
     configs.currentForm = new Configuraciones.DataBase();
     configs.ShowDialog();
 }
Beispiel #4
0
 private void configuracionesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Configuraciones.Configuraciones configs = new Configuraciones.Configuraciones();
     configs.user = Inicio.CurrentUser;
     configs.ShowDialog();
 }