示例#1
0
		public Rotate3DTool()
			: base(SR.TooltipRotate3D)
		{
			CursorToken = new CursorToken("Icons.Rotate3DToolSmall.png", GetType().Assembly);
			_operation = new SpatialTransform3DImageOperation(Apply);

			const string graphicName = "Icons.NoSpineLabeling.png";
			var iconSet = new UnavailableActionIconSet(new IconSet("Icons.Rotate3DToolSmall.png", "Icons.Rotate3DToolMedium.png", "Icons.Rotate3DToolLarge.png"));
			var resolver = new ApplicationThemeResourceResolver(GetType(), false);
			_flashOverlayController = new FlashOverlayController(iconSet, resolver) {FlashSpeed = 1500};
		}
示例#2
0
        public Rotate3DTool()
            : base(SR.TooltipRotate3D)
        {
            CursorToken = new CursorToken("Icons.Rotate3DToolSmall.png", GetType().Assembly);
            _operation  = new SpatialTransform3DImageOperation(Apply);

            const string graphicName = "Icons.NoSpineLabeling.png";
            var          iconSet     = new UnavailableActionIconSet(new IconSet("Icons.Rotate3DToolSmall.png", "Icons.Rotate3DToolMedium.png", "Icons.Rotate3DToolLarge.png"));
            var          resolver    = new ApplicationThemeResourceResolver(GetType(), false);

            _flashOverlayController = new FlashOverlayController(iconSet, resolver)
            {
                FlashSpeed = 1500
            };
        }