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?
Hi Mike Robertson,
I installed and tested with ORD 10.10.21.04 and do not see any difference in behavior in the WpfDemo example. I am also running Windows 10 most current patches:
HTH,Bob
Our WPF based forms (and the WpdDemo) work correctly. These are forms based off of public partial class FormPlaceBoreInPlan : Bentley.MstnPlatformNET.WinForms.Adapter.
//form definition and iheritance #if RELEASE public partial class FormPlaceBoreInModel : Bentley.MstnPlatformNET.WinForms.Adapter #else public partial class FormPlaceBoreInModel : Form #endif //form creation and show FormPlaceBoreInModel formPlaceBoreInModel = new FormPlaceBoreInModel(); #if RELEASE formPlaceBoreInModel.AttachAsTopLevelForm(ORDPlaceBorehole.Instance, true); #endif formPlaceBoreInModel.Show();