Пример #1
0
 private void OpenAbstract()
 {
     try
     {
         var vm = new AbstractViewModel(currentAbstract);
         var v  = new AbstractView {
             DataContext = vm
         };
         v.Show();
     }
     catch (Exception ex)
     {
         LogManager.Write(ex);
     }
 }
Пример #2
0
        private void OpenAbstract()
        {
            try
            {

                var vm = new AbstractViewModel(currentAbstract);
                var v = new AbstractView { DataContext = vm };
                v.Show();
            }
            catch (Exception ex)
            {
                LogManager.Write(ex);
            }
        }