Exemplo n.º 1
0
		public void RefreshScripts() {
			scriptsNode.Nodes.Clear();
			
			foreach (Script script in editorControl.World.Scripts.Values) {
				if (!script.IsHidden) {
					ScriptTreeNode scriptNode = new ScriptTreeNode(script);
					scriptNode.ContextMenuStrip = editorControl.EditorForm.contextMenuScriptNode;
					scriptsNode.Nodes.Add(scriptNode);
				}
			}
		}
Exemplo n.º 2
0
        public void RefreshScripts()
        {
            scriptsNode.Nodes.Clear();

            foreach (Script script in editorControl.World.Scripts.Values) {
                if (!script.IsHidden) {
                    ScriptTreeNode scriptNode = new ScriptTreeNode(script);
                    scriptNode.ContextMenuStrip = editorControl.EditorForm.contextMenuScriptNode;
                    scriptsNode.Nodes.Add(scriptNode);
                }
            }
        }