Ejemplo n.º 1
0
        public int GetLevel()
        {
            ClientNodeControl node = this.TagObject as ClientNodeControl;

            if (node == null)
            {
                return(-1);
            }

            return(node.GetGroupID());
        }
Ejemplo n.º 2
0
 public void MoveSelected(int x, int y, int keyPosX, int keyPosY)
 {
     foreach (Control c in this.Controls)
     {
         ISelectable s = c as ISelectable;
         if (s != null && s.IsSelected())
         {
             ClientNodeControl cn = c as ClientNodeControl;
             if (cn != null)
             {
                 cn.MoveControl(x, y, keyPosX, keyPosY);
             }
         }
     }
 }
Ejemplo n.º 3
0
        public int GetCPLevel(IControlPoint cp)
        {
            ClientNodeControl node = cp.TagObject as ClientNodeControl;

            return(node.GetGroupID());
        }