Пример #1
0
        private void RaiseMouseInfoOverEvents(Point mousePosition)
        {
            var mouseOverEventArgs = GetMouseInfoEventArgs(mousePosition, Map.HoverInfoLayers);

            if (_previousMouseOverEventArgs != null && mouseOverEventArgs != null)
            {
                OnMouseInfoLeave();
            }
            else
            {
                OnMouseInfoOver(mouseOverEventArgs);
            }
            _previousMouseOverEventArgs = mouseOverEventArgs;
        }
Пример #2
0
 protected void OnMouseInfoUp(MouseInfoEventArgs e)
 {
     MouseInfoUp?.Invoke(this, e);
 }
Пример #3
0
 protected void OnMouseInfoOver(MouseInfoEventArgs e)
 {
     MouseInfoOver?.Invoke(this, e);
 }