private static TabbedScriptEditor CreateScriptEditor(ScriptHost host) { var dlg = new TabbedScriptEditor(host); dlg.AddScript(Properties.Settings.Default.DefaultScript); return dlg; }
private void ShowScriptEditor() { var dlg = new TabbedScriptEditor(_scriptHost); dlg.AddScript(Properties.Settings.Default.DefaultScript); dlg.Show(); }