public OrderCardViewModel(IModel model, IEventAggregator eventAggregator, ClothDataGridViewModel clothGrid, Visibilities visibilities) : base( eventAggregator, Screens.OrderEditor, visibilities) { _model = model; this.ClothInstancesGrid = clothGrid; clothGrid.DisplaySelectionColumn = false; }
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; }
public Card(IEventAggregator eventAggregator, Screens editorScreen, Visibilities visibilities = null) { Visibilities = visibilities; this._eventAggregator = eventAggregator; this._editorScreen = editorScreen; }