コード例 #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);
     }
 }