private void toolStripButtonEditor_Click(object sender, EventArgs e) { ScriptEditor editor = new ScriptEditor(); editor.SetScript(script1); editor.Show(); }