예제 #1
0
 public FacadeNodeMotionHandler(NodeControl userControl)
 {
     _parent = userControl.ParentSurface;
     _parent.MapMoved += OnMapMoved;
     UserControl = userControl;
     MouseManagingControl = userControl.NodeImage;
     _selector = _parent.NodesSelector;
 }
예제 #2
0
 public FacadeNodeMotionHandler(NodeControl userControl)
 {
     _parent              = userControl.ParentSurface;
     _parent.MapMoved    += OnMapMoved;
     UserControl          = userControl;
     MouseManagingControl = userControl.NodeImage;
     _selector            = _parent.NodesSelector;
 }
예제 #3
0
 public void Initialise(ISelectorControl parent)
 {
     SelectorControl = parent;
     MultiNodesContextMenu.CopyClicked           += OnCopyClicked;
     MultiNodesContextMenu.CutClicked            += OnCutClicked;
     MultiNodesContextMenu.DeleteClicked         += OnDeleteClicked;
     MultiNodesContextMenu.CloneClicked          += OnCloneClicked;
     MultiNodesContextMenu.NodePropertiesClicked += OnNodePropertiesClicked;
     MultiNodesContextMenu.ExportClicked         += MultiNodesContextMenuOnExportClicked;
     MultiNodesContextMenu.ChangeNodeTypeClicked += MultiNodesContextMenuOnChangeNodeTypeClicked;
     SelectorControl.MapMoved += OnMapMoved;
 }
예제 #4
0
 public void Initialise(ISelectorControl parent)
 {
     SelectorControl = parent;
     MultiNodesContextMenu.CopyClicked += OnCopyClicked;
     MultiNodesContextMenu.CutClicked += OnCutClicked;
     MultiNodesContextMenu.DeleteClicked += OnDeleteClicked;
     MultiNodesContextMenu.CloneClicked += OnCloneClicked;
     MultiNodesContextMenu.NodePropertiesClicked += OnNodePropertiesClicked;
     MultiNodesContextMenu.ExportClicked += MultiNodesContextMenuOnExportClicked;
     MultiNodesContextMenu.ChangeNodeTypeClicked += MultiNodesContextMenuOnChangeNodeTypeClicked;
     SelectorControl.MapMoved += OnMapMoved;
 }