private void AddCrf() { var vm = new CrfViewModel(DataManager.Instance.CreateCrf()); var v = new CrfView {DataContext = vm}; v.Show(); Refresh(); OnPropertyChanged("AllCrf"); }
public void OpenCrf() { var vm = new CrfViewModel(CurrentCrf.Model); var v = new CrfView { DataContext = vm }; v.Show(); }
private void OpenCrf() { var vm = new CrfViewModel(CurrentCrf); var v = new CrfView { DataContext = vm }; v.Show(); }