public ContornaturaParametriViewModel(FresaturaContornatura contornaturaParametri, EditWorkViewModel treeItemParent) : base("Work Parameter", treeItemParent) { _contornaturaParametri = contornaturaParametri; var trimmingViewModel = new ContornaturaTrimmingViewModel(_contornaturaParametri, this); Children.Add(trimmingViewModel); }
public FresaturaContornaturaViewModel(FresaturaContornatura fresaturaContornatura) : base(fresaturaContornatura) { _fresaturaContornatura = fresaturaContornatura; _millingPatternSelectionViewModel = new MillingPatternSelectionViewModel(_fresaturaContornatura, this); _contornaturaParametriViewModel = new ContornaturaParametriViewModel(fresaturaContornatura, this); TreeView.Add(_millingPatternSelectionViewModel); TreeView.Add(_contornaturaParametriViewModel); Initialize(); }
public ContornaturaTrimmingViewModel(FresaturaContornatura contornaturaParametri, EditStageTreeViewItem treeItemParent) : base("Trimming", treeItemParent) { _contornaturaParametri = contornaturaParametri; }