예제 #1
0
        private void RefreshControls()
        {
            ProjectEditWidget.Attach(EditingProject);
            KnowledgeBaseEditWidget.Attach(EditingProject.KB, EditingProject);
            InputsEditWidget.Attach(EditingProject, EditingProject.Inputs);

            RefreshBehaviorControls();
            RefreshBehaviorSetControls();
            RefreshArchetypeControls();
            RefreshScenarioControls();
        }
예제 #2
0
        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);
        }