App.SetCursor(true); IWineListWindow listWindow = (IWineListWindow)App.GetWindow(WindowType.WineList); if(listWindow != null) { BindingList list = new BindingList(); ObjectCollection oc = App.ActiveCellar.GetCollection((ushort)ObjectType.Wine); for (int i = 0; i < oc.Count; i++) { Wine w = (Wine)oc[i]; if(!w.HasImage()) { continue; } list.Add(w); } listWindow.Wines = list; listWindow.Show(); } App.SetCursor(false);