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