/// <summary> /// Associates the specified event script with the TreeViewWrapper. /// </summary> /// <param name="script">The script associated with the TreeViewWrapper.</param> public void LoadScript(EventScript script) { this.Script = script; foreach (EventCommand esc in script.Commands) { esc.ResetOriginalOffset(); } Populate(); }
public EventScript Copy() { EventScript copy = new EventScript(this.Index); return(copy); }
// Constructors public ScriptIterator(EventScript script) { this.script = script; this.ChildIndex = -1; }