public IScriptEditorControl GetScriptEditorControl(string scriptFileName, bool showEditor) { if (OnGetScriptEditorControl != null) { GetScriptEditorControlEventArgs evArgs = new GetScriptEditorControlEventArgs(scriptFileName, showEditor); OnGetScriptEditorControl(evArgs); return evArgs.ScriptEditor; } return null; }