예제 #1
0
 public void Dispose()
 {
     _getWindowHookNet?.Dispose();
     _getWindowHookNet = null;
 }
예제 #2
0
 private static WindowHookNet GetWindowHookNet(WindowHookDelegate windowHookNetWindowCreated)
 {
     _getWindowHookNet = new WindowHookNet("WindowHookNet" + DateTime.Now.ToString("HH:mm:ss mmm"));
     _getWindowHookNet.WindowCreated += windowHookNetWindowCreated;
     return(_getWindowHookNet);
 }
 private static WindowHookNet GetWindowHookNet(WindowHookDelegate windowHookNetWindowCreated)
 {
     _getWindowHookNet = new WindowHookNet();
     _getWindowHookNet.WindowCreated += windowHookNetWindowCreated;
     return(_getWindowHookNet);
 }