Ejemplo n.º 1
0
        public void ATestyTest()
        {
            MousePosition postion = new MousePosition();

            postion.X = 10;

            postion.Y = 10;

            IrisCore.MouseService.SetMousePosition(postion);
        }
Ejemplo n.º 2
0
        private void MouseHookOnMousePositionChanged(long x, long y)
        {
            lblLocalMouseMove.Text = "Local mouse: " + x + ", " + y;

            MousePosition mousePosition = new MousePosition();

            mousePosition.X = x;

            mousePosition.Y = y;

            mousePosition.RecipientId = _clientAddress.Text;

            var t = IrisCore.MouseService.SetMousePosition(mousePosition);
        }
Ejemplo n.º 3
0
 private void MouseService_MousePositionChanged(MousePosition position)
 {
     this.Invoke(new MethodInvoker(delegate
     {
         mousePositionLabels[mousePositionLabels.Keys.First()].Text = "Mouse pos: " + position.X + ", " + position.Y;
     }));
 }
Ejemplo n.º 4
0
 public async Task<bool> SendMousePositionUpdate(MousePosition position)
 {
     return await SendMessage(position, MessageType.MousePositionUpdate);
 }
Ejemplo n.º 5
0
 private void ProcessMousePositionUpdate(MousePosition mousePosition)
 {
     if (ConfigurationService.InstanceId == mousePosition.RecipientId)
     {
         if (MousePositionUpdate != null)
         {
             MousePositionUpdate(mousePosition);
         }
     }
 }
Ejemplo n.º 6
0
 private void MouseService_MousePositionChanged(MousePosition position)
 {
     throw new System.NotImplementedException();
 }
Ejemplo n.º 7
0
 private void OnMousePositionUpdate(MousePosition position)
 {
     MousePositionChanged?.Invoke(position);
 }
Ejemplo n.º 8
0
 public async Task<bool> SetMousePosition(MousePosition position)
 {
     return await IrisCore.NetworkManager.SendMousePositionUpdate(position);
 }