Exemplo n.º 1
0
 private void button3_Click(object sender, EventArgs e)
 {
     try
     {
         bllLeyenda.eliminarLeyenda(leyendaSeleccionada);
         recargarEtiquetas();
         bllIdioma.Notify();
         Sesion.Instancia().IdiomaActual.Leyendas = bllLeyenda.conseguirLeyendasParaIdioma(Sesion.Instancia().IdiomaActual.Id);
         bllIdioma.Notify();
     }catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Exemplo n.º 2
0
 private void validarNavegación()
 {
     if (Sesion.Instancia().UsuarioActual == null)
     {
         //Estoy en la pantalla de inicio, tengo que ir al login
         new Login().Show();
     }
     else
     {
         bllIdioma.Notify();
     }
     this.Close();
 }