/// <summary> /// Associates the specified action script with the TreeViewWrapper. /// </summary> /// <param name="script">The script associated with the TreeViewWrapper.</param> public void LoadScript(ActionScript action) { this.Action = action; foreach (ActionCommand asc in action.Commands) { asc.ResetOriginalOffset(); } Populate(); }
public ScriptIterator(ActionScript action) { this.action = action; this.ChildIndex = -1; }
/// <summary> /// Creates a deep copy of this instance. /// </summary> /// <returns></returns> public ActionScript Copy() { ActionScript copy = new ActionScript(this.Index); return(copy); }