private static bool ClosedAllWindows() { foreach (CvWindowEx w in windows) { if (w.Created) { return false; } } return true; } /// <summary>