Example #1
0
 /// <summary>
 /// Constructs a new PBoundsHandle that will use the given locator to locate itself
 /// on another node's bounds.
 /// </summary>
 /// <param name="locator">
 /// The locator used by this handle to locate itself on another node's bounds.
 /// </param>
 public PBoundsHandle(PLocator locator)
     : base(locator)
 {
 }
Example #2
0
 /// <summary>
 /// Constructs a new handle that will use the given locator to locate itself
 /// on its parent node.
 /// </summary>
 /// <param name="aLocator">
 /// The locator used by this handle to locate itself on its parent node.
 /// </param>
 public PHandle(PLocator aLocator)
 {
     //AddPath(CreatePath, false);
     SetBounds(0, 0, DEFAULT_HANDLE_SIZE, DEFAULT_HANDLE_SIZE);
     Pen = new Pen(Color.Black);
     locator = aLocator;
     Brush = new SolidBrush(DEFAULT_COLOR);
     InstallHandleEventHandlers();
 }