public IntPtr FindFirstWindow() { handles.Clear(); GDI32.EnumWindows(EnumWindowCallBack, 0); return(handles.First(h => { var bmp = CaptureWindow(h); return bmp.Width >= 100 && bmp.Height >= 100; })); }
public IntPtr FindFirstWindow() { handles.Clear(); GDI32.EnumWindows(EnumWindowCallBack, 0); return(handles.First(h => { var bmp = CaptureWindow(h); return bmp.Width >= 100 && bmp.Height >= 100; })); }