It appears the API call to Bentley.MstnPlatformNET.WinForms.Apapter.AttachAsTopLevelForm was broken somewhere between ORD 10.09.0.91 (MS 10.14.04.04) and ORD 10.10.21.04 (MS 10.16.02.267) . Forms no longer minimize or stay in front of the main ustn window as in previous versions.
Has anyone else encountered this issue?
Mike Robertson said:It appears the API call to Bentley.MstnPlatformNET.WinForms.Apapter.AttachAsTopLevelForm was broken
Mike Robertson said:Our WPF based forms (and the WpdDemo) work correctly. These are forms based off of public partial class FormPlaceBoreInPlan : Bentley.MstnPlatformNET.WinForms.Adapter
Just to be clear, is your problem with Microsoft WinForms or with WPF?
Your AddIn UI class should inherit from the appropriate Bentley base class. If you're using WinForms, this is OK...
#if RELEASE public partial class FormPlaceBoreInModel : Bentley.MstnPlatformNET.WinForms.Adapter #else public partial class FormPlaceBoreInModel : Form #endif
But if using WPF, the above makes no sense.
Regards, Jon Summers LA Solutions
Yes, our Winforms based forms (Bentley.MstnPlatformNET.WinForms.Adapter) are the ones displaying this incorrect behavior, our WPF forms are behaving correctly.