Пример #1
0
 public void RemoveMouse(MouseSimulated mouse)
 {
     if (!mice.Contains(mouse))
     {
         throw new InvalidOperationException("Simulated Mouse does not exist");
     }
     UnregisterDevice(mouse);
     mice.Remove(mouse);
 }