コード例 #1
0
 public MakerDataGrid()
 {
     InitializeComponent();
     CollectionViewModelObserverSubject subject = CollectionViewModelObserverSubject.GetInstance();
     _viewModel = new FieldWrapperViewModel<Maker, Observable<Maker>>(subject);
     DataContext = _viewModel;
 }
コード例 #2
0
 public ClientDataGrid()
 {
     InitializeComponent();
     CollectionViewModelObserverSubject subject = CollectionViewModelObserverSubject.GetInstance();
     _viewModel = new FieldWrapperViewModel<Client, ClientWrapper>(subject);
     DataContext = _viewModel;
 }