private void RefreshControls() { ProjectEditWidget.Attach(EditingProject); KnowledgeBaseEditWidget.Attach(EditingProject.KB, EditingProject); InputsEditWidget.Attach(EditingProject, EditingProject.Inputs); RefreshBehaviorControls(); RefreshBehaviorSetControls(); RefreshArchetypeControls(); RefreshScenarioControls(); }
private void RefreshControls() { ProjectEditWidget.Attach(EditingProject); KnowledgeBaseEditWidget.Attach(EditingProject.KB, EditingProject); InputsEditWidget.Attach(EditingProject, EditingProject.Inputs); BehaviorsEditWidget.Attach(EditingProject); BehaviorSetsEditWidget.Attach(EditingProject); ArchetypesEditWidget.Attach(EditingProject); ScenariosEditWidget.Attach(EditingProject); SetWindowCaption(EditingProject.IsDirty); }