示例#1
0
 public static void Initialize(TreeView targetTreeView)
 {
     myTreeView = targetTreeView;
     myEditPlayerNodeDelegate       = new dEditPlayerNode(myEditPlayerNode);
     myEditNodeHeaderDelegate       = new dEditNodeHeader(myEditNodeHeader);
     myAddPlaceHolderDelegate       = new dAddPlaceHolder(myAddPlaceHolder);
     myRemoveParentDelegate         = new dRemoveParent(myRemoveParent);
     myUpdateLastTargetDelegate     = new dUpdateLastTarget(myUpdateLastTarget);
     myUpdateLastObjectDelegate     = new dUpdateLastObject(myUpdateLastObject);
     myUpdateMouseDelegate          = new dUpdateMouse(myUpdateMouse);
     myUpdateKeypressDelegate       = new dUpdateKeypress(myUpdateKeypress);
     myUpdateLastGumpActionDelegate = new dUpdateLastGumpAction(myUpdateLastGumpAction);
 }
 public static void Initialize(TreeView targetTreeView)
 {
     myTreeView = targetTreeView;
     myEditPlayerNodeDelegate = new dEditPlayerNode(myEditPlayerNode);
     myEditNodeHeaderDelegate = new dEditNodeHeader(myEditNodeHeader);
     myAddPlaceHolderDelegate = new dAddPlaceHolder(myAddPlaceHolder);
     myRemoveParentDelegate = new dRemoveParent(myRemoveParent);
     myUpdateLastTargetDelegate = new dUpdateLastTarget(myUpdateLastTarget);
     myUpdateLastObjectDelegate = new dUpdateLastObject(myUpdateLastObject);
     myUpdateMouseDelegate = new dUpdateMouse(myUpdateMouse);
     myUpdateKeypressDelegate = new dUpdateKeypress(myUpdateKeypress);
     myUpdateLastGumpActionDelegate = new dUpdateLastGumpAction(myUpdateLastGumpAction);
 }