public void MoveMouse(int x, int y) { try { InputChannel.MoveMouse(x, y); } catch (EndpointNotFoundException) { } catch (CommunicationException) { } }
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); } }