private void NewScript() { ClearWindow(); edit = new ScriptEditView(51); edit.Save += Save; edit.Cancel += Cancel; Win.Add(edit); }
private void EditScript(IGrimoireRunner scriptRunner) { ClearWindow(); edit = new ScriptEditView(scriptRunner, 51); edit.Save += Save; edit.Cancel += Cancel; Win.Add(edit); }