Example #1
0
        public VBScriptTemplate()
        {
            InitializeComponent();

            scintillaControl = new ZeusScintillaControl(ScriptLanguage.VBScript);
            scintillaControl.AddShortcutsFromForm(this);

            this.Controls.Add(scintillaControl);
        }
Example #2
0
        public void Init()
        {
            scintillaControl.Size = Size;
            reload();

            Form p = GetParentForm();

            scintillaControl.AddShortcutsFromForm(p);
        }
Example #3
0
        public TemplateEditorForm(ZeusTemplate template)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            this.template = template;

            scintillaTemplateCode = new ZeusScintillaControl(ScriptLanguage.JScript);
            scintillaTemplateCode.AddShortcutsFromForm(this);

            scintillaGUICode = new ZeusScintillaControl(ScriptLanguage.JScript);
            scintillaGUICode.AddShortcutsFromForm(this);

            this.tabCode.Controls.Add(this.scintillaTemplateCode);
            this.tabInterface.Controls.Add(this.scintillaGUICode);
        }