Ejemplo n.º 1
0
 /// <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();
 }
Ejemplo n.º 2
0
        public EventScript Copy()
        {
            EventScript copy = new EventScript(this.Index);

            return(copy);
        }
Ejemplo n.º 3
0
 // Constructors
 public ScriptIterator(EventScript script)
 {
     this.script     = script;
     this.ChildIndex = -1;
 }