Esempio n. 1
0
 private void ShowSectorsExecute()
 {
     try
     {
         Sectors sectors = new Sectors();
         sectors.Show();
         view.Close();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Esempio n. 2
0
 private void LogoutExecute()
 {
     try
     {
         LoginView login = new LoginView();
         login.Show();
         view.Close();
     }
     catch (Exception ex)
     {
         MessageBox.Show("Exception" + ex.Message.ToString());
     }
 }