Ejemplo n.º 1
0
 private void NodeModel_Disposed(Dynamo.Graph.ModelBase obj)
 {
     if (editWindow != null)
     {
         editWindow.Close();
     }
 }
Ejemplo n.º 2
0
 private void NodeModel_Disposed(Dynamo.Graph.ModelBase obj)
 {
     if (editWindow != null)
     {
         editWindow.Close();
     }
     editWindowItem.Click    -= EditScriptContent;
     pythonEngine2Item.Click -= UpdateToPython2Engine;
     pythonEngine3Item.Click -= UpdateToPython3Engine;
 }
Ejemplo n.º 3
0
        private void NodeModel_Disposed(Dynamo.Graph.ModelBase obj)
        {
            if (pythonEngineVersionMenu != null)
            {
                foreach (var item in pythonEngineVersionMenu.Items)
                {
                    if (item is MenuItem menuItem)
                    {
                        menuItem.Click -= UpdateEngine;
                    }
                }
            }

            PythonEngineManager.Instance.AvailableEngines.CollectionChanged -= PythonEnginesChanged;
            learnMoreItem.Click -= OpenPythonLearningMaterial;
        }
Ejemplo n.º 4
0
        private void NodeModel_Disposed(Dynamo.Graph.ModelBase obj)
        {
            if (editWindow != null)
            {
                editWindow.Close();
            }
            editWindowItem.Click -= EditScriptContent;
            if (pythonEngine2Item != null)
            {
                pythonEngine2Item.Click -= UpdateToPython2Engine;
            }
            if (pythonEngine3Item != null)
            {
                pythonEngine3Item.Click -= UpdateToPython3Engine;
            }

            PythonEngineManager.Instance.AvailableEngines.CollectionChanged -= PythonEnginesChanged;
            learnMoreItem.Click -= OpenPythonLearningMaterial;
        }
Ejemplo n.º 5
0
 private void NodeModel_Disposed(Dynamo.Graph.ModelBase obj)
 {
     pythonEngine2Item.Click -= UpdateToPython2Engine;
     pythonEngine3Item.Click -= UpdateToPython3Engine;
 }
Ejemplo n.º 6
0
 private void NodeModel_Disposed(Dynamo.Graph.ModelBase obj)
 {
     pythonEngine2Item.Click -= UpdateToPython2Engine;
     pythonEngine3Item.Click -= UpdateToPython3Engine;
     learnMoreItem.Click     -= OpenPythonLearningMaterial;
 }