示例#1
0
 /// <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();
 }
示例#2
0
 public ScriptIterator(ActionScript action)
 {
     this.action     = action;
     this.ChildIndex = -1;
 }
示例#3
0
        /// <summary>
        /// Creates a deep copy of this instance.
        /// </summary>
        /// <returns></returns>
        public ActionScript Copy()
        {
            ActionScript copy = new ActionScript(this.Index);

            return(copy);
        }