protected override void RaiseConfigurationChanged(UAModelDesignerSolution model) { base.RaiseConfigurationChanged(model); if (model == null) { model = UAModelDesignerSolution.CreateEmptyModel(); } AfterSolutionChange?.Invoke(this, new AfterSolutionChangeEventArgs(model)); //e.Configuration.SetHomeDirectory(Path.GetDirectoryName(DefaultFileName)); //SolutionRootNode = new SolutionTreeNode(e.Configuration, new ViewModelFactory(), Path.GetDirectoryName(DefaultFileName), new EventHandler<EventArgs>(OnNodeChange)); }
internal void OnSolutionChanged() { AfterSolutionChange?.Invoke(this, new AfterSolutionChangeEventArgs(CurrentConfiguration)); }