Пример #1
0
        private void addScriptToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ScriptParserType type = new ScriptParserType(GenerateName("Script"), "python",
                Properties.Resources.DefaultPythonParserScript);

            _document.AddParserType(type);

            treeViewTypes.SelectedNode = AddTreeNode(_scriptNode, type, true);
        }
Пример #2
0
 public DummyScriptContainer(ScriptParserType parentType, string engine, string script)
     : base(engine, Guid.NewGuid(), script, false)
 {
     _parentType = parentType;
 }
Пример #3
0
 public DummyScriptContainer(ScriptParserType parentType, string engine, string script)
     : base(engine, Guid.NewGuid(), script, false)
 {
     _parentType = parentType;
 }