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); }