示例#1
0
        private void AddNewPersonMethod()
        {
            NewPersonViewModel _NewPersonViewModel = new NewPersonViewModel();

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