public GKDoorPainter(CommonDesignerCanvas designerCanvas, ElementGKDoor elementGKDoor) : base(designerCanvas, elementGKDoor) { _elementGKDoor = elementGKDoor; _toolTip = new ImageTextTooltipViewModel(); _toolTip.ImageSource = "/Controls;component/Images/Door.png"; }
public Painter(CommonDesignerCanvas designerCanvas, ElementCamera elementCamera) : base(designerCanvas, elementCamera) { _elementCamera = elementCamera; _toolTip = new ImageTextTooltipViewModel(); _toolTip.ImageSource = "/Controls;component/Images/BVideo.png"; }
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"; }
public Painter(CommonDesignerCanvas designerCanvas, ElementGKDevice elementGKDevice) : base(designerCanvas, elementGKDevice) { _elementGKDevice = elementGKDevice; _toolTip = new ImageTextTooltipViewModel(); }
public ImageTextStateTooltipViewModel() { TitleViewModel = new ImageTextTooltipViewModel(); StateViewModel = new ImageTextTooltipViewModel(); }
public ProcedurePainter(CommonDesignerCanvas designerCanvas, ElementBase element) : base(designerCanvas, element) { _toolTip = new ImageTextTooltipViewModel(); _toolTip.ImageSource = "/Controls;component/Images/ProcedureYellow.png"; }