I display an Eto form for trimming a mesh with:
args = TrimMeshArgs() dlg = TrimMeshDialog(args) result = UI.EtoExtensions.ShowSemiModal(dlg, RhinoDoc.ActiveDoc, UI.RhinoEtoApp.MainWindow)
Then I do some mesh trimming and afterwards the form is sometime not on top. I can bring it to the top by selecting another application from the bottom tab in Windows 10 (like Chrome) and then collapsing it, but this is quite the bother.
Is there something I can code inside the script to bring the form back to the top after calling my trim_mesh procedure from within the form?