private void AddNewPersonMethod() { NewPersonViewModel _NewPersonViewModel = new NewPersonViewModel(); _NewPersonViewModel.TabClosed += _NewPersonViewModel_TabClosed; Enviroment.LoadTab(_NewPersonViewModel); }
private void LoadNewPersonMethod() { try { Enviroment.LoadTab(new NewPersonViewModel()); } catch (Exception e) { ExepionLogger.Logger.LogException(e); ExepionLogger.Logger.Show(e); } }
private void AddNewAddressMethod() { try { ObjectMessenger.Send("ADDRESSLINKOBJECT", PersonObject); Enviroment.LoadTab(new NewAddressViewModel()); } catch (Exception e) { ExepionLogger.Logger.LogException(e); ExepionLogger.Logger.Show(e); } }