예제 #1
0
파일: CrossHair.cs 프로젝트: hksonngan/Xian
            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;
 }