Пример #1
0
 private void AddCrf()
 {
     var vm = new CrfViewModel(DataManager.Instance.CreateCrf());
     var v = new CrfView {DataContext = vm};
     v.Show();
     Refresh();
     OnPropertyChanged("AllCrf");
 }
Пример #2
0
 public void OpenCrf()
 {
     var vm = new CrfViewModel(CurrentCrf.Model);
     var v = new CrfView { DataContext = vm };
     v.Show();
 }
Пример #3
0
 private void OpenCrf()
 {
     var vm = new CrfViewModel(CurrentCrf);
     var v = new CrfView { DataContext = vm };
     v.Show();
 }