Пример #1
0
        /* Edit resources referenced by the flowgraph */
        private void editFlowgraphResources_Click(object sender, EventArgs e)
        {
            //CurrentInstance.currentFlowgraph.resources
            CathodeEditorGUI_AddOrEditResource resourceEditor = new CathodeEditorGUI_AddOrEditResource(CurrentInstance.selectedFlowgraph);

            resourceEditor.Show();
        }
Пример #2
0
        /* Edit resources referenced by the entity */
        private void editNodeResources_Click(object sender, EventArgs e)
        {
            //CurrentInstance.currentEntity - .parameters.FirstOrDefault("resources") - .resources
            CathodeEditorGUI_AddOrEditResource resourceEditor = new CathodeEditorGUI_AddOrEditResource(CurrentInstance.selectedEntity);

            resourceEditor.Show();
        }