Hello,
I was wondering if anyone has any experience reloading a HostWindow. I can get the HostWindows I need from my DockWindows, gather the info I need from it, close the the HostWindow, make my new calculations, create a new HostWindow and add it to the Dock. However, this just puts the new HostWindow on the most recent document that had focus. What I want is for the new HostWindow to show up/refresh in the same spot. Does anyone know if this is possible?
This is what I was thinking; but it leaves the old HostWindow in the Dock and does not seem to add the "new" HostWindow to the dock.
If you need anymore info from me just let me know. Thanks.
I was wondering if anyone has any experience reloading a HostWindow. I can get the HostWindows I need from my DockWindows, gather the info I need from it, close the the HostWindow, make my new calculations, create a new HostWindow and add it to the Dock. However, this just puts the new HostWindow on the most recent document that had focus. What I want is for the new HostWindow to show up/refresh in the same spot. Does anyone know if this is possible?
This is what I was thinking; but it leaves the old HostWindow in the Dock and does not seem to add the "new" HostWindow to the dock.
//set the current window to a host window, if not a host window will return null
HostWindow hw =
this
.dockMain.DockWindows[i]
as
HostWindow;
//creates new form in hostwindow
hw =
new
HostWindow(createRightForm(tempModel, formName));
If you need anymore info from me just let me know. Thanks.