public WindowCollectionViewModel(WindowCollection windowCollection) { this.windowCollection = windowCollection; ElementsWindowViewModel = new ElementsWindowViewModel(this.windowCollection.ElementsWindow); PropertiesWindowViewModel = new PropertiesWindowViewModel(this.windowCollection.PropertiesWindow); CalculationResultWindowViewModel = new CalculationResultWindowViewModel(); EditorWindows = new ObservableCollection<EditorWindowViewModel>(); }
public LegoStudio() { WindowCollection = new WindowCollection(); }