Пример #1
0
 public MakerDataGrid()
 {
     InitializeComponent();
     CollectionViewModelObserverSubject subject = CollectionViewModelObserverSubject.GetInstance();
     _viewModel = new FieldWrapperViewModel<Maker, Observable<Maker>>(subject);
     DataContext = _viewModel;
 }
 public ClientDataGrid()
 {
     InitializeComponent();
     CollectionViewModelObserverSubject subject = CollectionViewModelObserverSubject.GetInstance();
     _viewModel = new FieldWrapperViewModel<Client, ClientWrapper>(subject);
     DataContext = _viewModel;
 }