public VBScriptTemplate() { InitializeComponent(); scintillaControl = new ZeusScintillaControl(ScriptLanguage.VBScript); scintillaControl.AddShortcutsFromForm(this); this.Controls.Add(scintillaControl); }
public void Init() { scintillaControl.Size = Size; reload(); Form p = GetParentForm(); scintillaControl.AddShortcutsFromForm(p); }
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); }