Beispiel #1
0
        public HoverController()
        {
            enabled        = true;
            hoverItem      = null;
            showingTooltip = false;
            rectHelper     = new RectangleHelper(Color.FromArgb(120, 192, 192, 192), Color.White);
            hoverPainter   = new HoverPainter();

            timerDelegate = new System.Threading.TimerCallback(timerCallback);
            timer         = new System.Threading.Timer(timerDelegate, null, System.Threading.Timeout.Infinite, System.Threading.Timeout.Infinite);
        }
 private RectangleTrackingService()
 {
     rectHelper = new RectangleHelper(defaultColorFill, defaultColorLine);
 }