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