Window Sizing in the MdiWorkspace

Topics: CAB & Smart Client Software Factory
Dec 3, 2005 at 10:46 AM
originally posted by: wfbinder

I have a view of a smartpart in an MdiWorkspace. Is there a simple way to receive mdi windows sizing changes?
Dec 3, 2005 at 5:43 PM
originally posted by: aaguiarz

You can try getting to the MDI window from the smartpart and add an event handler

Something like

smartPart.Parent.Event += ...
Mar 8, 2006 at 5:30 PM
originally posted by: upadrasta

Try using

MdiWorkspace mdiWindow = RootWorkItem.Workspaces.Get<MdiWorkspace>(key);
Form frm = mdiWindow.Windowsview;

frm.Height = 909;

etc etc.