示例#1
0
            public CrossHair(IImageBox imageBox, SpatialLocatorTool spatialLocatorTool)
            {
                ImageBox            = imageBox;
                _spatialLocatorTool = spatialLocatorTool;

                _crosshairGraphic          = new CrosshairGraphic();
                _crosshairGraphic.Drawing += OnGraphicDrawing;
            }
示例#2
0
文件: CrossHair.cs 项目: nhannd/Xian
			public CrossHair(IImageBox imageBox, SpatialLocatorTool spatialLocatorTool)
			{
				ImageBox = imageBox;
				_spatialLocatorTool = spatialLocatorTool;

				_crosshairGraphic = new CrosshairGraphic();
				_crosshairGraphic.Drawing += OnGraphicDrawing;
			}
 public void SetSpatialLocatorTool(SpatialLocatorTool tool)
 {
     _spatialLocatorTool = tool;
 }
 internal void SetSpatialLocatorTool(SpatialLocatorTool tool)
 {
     _spatialLocatorTool = tool;
 }