Exemple #1
0
 public OrderCardViewModel(IModel model, IEventAggregator eventAggregator,
                           ClothDataGridViewModel clothGrid, Visibilities visibilities) : base(
         eventAggregator, Screens.OrderEditor, visibilities)
 {
     _model = model;
     this.ClothInstancesGrid          = clothGrid;
     clothGrid.DisplaySelectionColumn = false;
 }
Exemple #2
0
 public EmployeeCardViewModel(IEventAggregator eventAggregator, OrderDataGridViewModel orderGrid,
                              Visibilities visibilities) : base(eventAggregator, Screens.EmployeeEditor, visibilities)
 {
     this.OrderGrid = orderGrid;
     orderGrid.DisplaySelectionColumn = false;
     orderGrid.IsCompact   = true;
     this._eventAggregator = eventAggregator;
 }
Exemple #3
0
 public Card(IEventAggregator eventAggregator, Screens editorScreen, Visibilities visibilities = null)
 {
     Visibilities          = visibilities;
     this._eventAggregator = eventAggregator;
     this._editorScreen    = editorScreen;
 }