Infinite loop when closing undocked document window
Brought to you by:
konne,
mr_circuit
When I try to close an undocked window the program enters an infinite loop.
In DockWindow.OnFormClosing the IsVisible property is set to false (designMode== false IsVisible==true dockType==Document)
In DockWindow.IsVisible.Set Close() is called (value= false hideOnClose=false)
My use case:
Version 2.5
1. I have a mainwondow with a DockManager
2. I create a new form inheriting from DockWindow
3. I set DockType to Document
4. I Dock the new window by calling DockWindow of the DockMAanger of the MainWindow with the new form and DockStyle.Fill
5.I Undocks the new window by clicking undock
6.I close the window by clicking the close (X) button