Hello,
in our application we use the RadDock to show some tool windows. The orginal windows are WinForms forms and so we use the following statement to show it as toolwindow:
Form f = new LogForm();hostWindow = radDockBase.DockControl(f, DockPosition.Right);hostWindow.DockState = DockState.Floating;hostWindow.CloseAction = DockWindowCloseAction.Hide;hostWindow.AllowedDockState = AllowedDockState.All ^ AllowedDockState.TabbedDocument;The window is displayed as expected (see BeforeClosing.png).
For each tool window we add a menu item with which we can close and open the window with the following code:
...//hostWindow.DockState = DockState.Hidden; <-- I've tried that toohostWindow.Close();......hostWindow.Show();...After showing the window again, the content of the window is no longer displayed (see AfterReShow.png).
How can I re-show the window and display the content?
Thanks for the help
Christoph
