public AreaSelection() { _screenProps = new ScreenProperties(); _boundaryDetection = new SmartBoundaryDetection(_screenProps); }
/// <summary> /// constructor /// As the capture will put two forms on the UI, SmartBoundaryDetection has /// to take a snapshot of the UI elements before the two forms show up /// </summary> public SmartBoundaryDetection(ScreenProperties screenProps) { _screenProps = screenProps; GetTopLevelWindows(); }