Example #1
0
 public void MoveMouse(int x, int y)
 {
     try
     {
         InputChannel.MoveMouse(x, y);
     }
     catch (EndpointNotFoundException)
     {
     }
     catch (CommunicationException)
     {
     }
 }
Example #2
0
 public void MoveMouse(int x, int y)
 {
     try
     {
         InputChannel.MoveMouse(x, y);
     }
     catch (EndpointNotFoundException)
     {
     }
     catch (CommunicationException ex)
     {
         Console.WriteLine(ex.Message);
         Console.Write(ex.StackTrace);
     }
 }