예제 #1
0
		public GKDoorPainter(CommonDesignerCanvas designerCanvas, ElementGKDoor elementGKDoor)
			: base(designerCanvas, elementGKDoor)
		{
			_elementGKDoor = elementGKDoor;
			_toolTip = new ImageTextTooltipViewModel();
			_toolTip.ImageSource = "/Controls;component/Images/Door.png";
		}
예제 #2
0
파일: Painter.cs 프로젝트: xbadcode/Rubezh
		public Painter(CommonDesignerCanvas designerCanvas, ElementCamera elementCamera)
			: base(designerCanvas, elementCamera)
		{
			_elementCamera = elementCamera;
			_toolTip = new ImageTextTooltipViewModel();
			_toolTip.ImageSource = "/Controls;component/Images/BVideo.png";
		}
예제 #3
0
		public PolygonZonePainter(CommonDesignerCanvas designerCanvas, ElementBase element)
			: base(designerCanvas, element)
		{
			_toolTip = new ImageTextTooltipViewModel();
			if (element is ElementPolygonGKZone)
				_toolTip.ImageSource = "/Controls;component/Images/Zone.png";
			else if (element is ElementPolygonGKSKDZone)
				_toolTip.ImageSource = "/Controls;component/Images/SKDZone.png";
			else if (element is ElementPolygonGKGuardZone)
				_toolTip.ImageSource = "/Controls;component/Images/GuardZone.png";
			else if (element is ElementPolygonGKDirection)
				_toolTip.ImageSource = "/Controls;component/Images/BDirection.png";
			else if (element is ElementPolygonGKMPT)
				_toolTip.ImageSource = "/Controls;component/Images/BMPT.png";
			else if (element is ElementPolygonGKPumpStation)
				_toolTip.ImageSource = "/Controls;component/Images/BPumpStation.png";
			else if (element is ElementPolygonGKDelay)
				_toolTip.ImageSource = "/Controls;component/Images/Delay.png";
		}
예제 #4
0
파일: Painter.cs 프로젝트: xbadcode/Rubezh
		public Painter(CommonDesignerCanvas designerCanvas, ElementGKDevice elementGKDevice)
			: base(designerCanvas, elementGKDevice)
		{
			_elementGKDevice = elementGKDevice;
			_toolTip = new ImageTextTooltipViewModel();
		}
		public ImageTextStateTooltipViewModel()
		{
			TitleViewModel = new ImageTextTooltipViewModel();
			StateViewModel = new ImageTextTooltipViewModel();
		}
예제 #6
0
		public ProcedurePainter(CommonDesignerCanvas designerCanvas, ElementBase element)
			: base(designerCanvas, element)
		{
			_toolTip = new ImageTextTooltipViewModel();
			_toolTip.ImageSource = "/Controls;component/Images/ProcedureYellow.png";
		}