Hi all,
I just recently converted my plugin interfaces from WPF to Eto.Forms. I am using Eto.Forms.Dialog extensively. The layouts are simple but contain many controls (dropdowns and text boxes).
The ShowModal() function seems to be very slow and the dialog only shows up a few seconds after a button click in Grasshopper / Rhino6.
Is there a trick to speed up the Eto interfaces or a best practice regarding display performance for Eto that I might be missing?
// builds a nested layout with tab controls and pages with about 100 controls (text boxes, radio buttons, dropdowns etc.) each
inputForm = new DialogEnergyResults(settings, ref resSet);
// this takes longest and seems to be causing the main delay.
inputForm.ShowModal();
Thanks a lot for your reply. This does help a bit but does not really solve it entirely.
There is this thread on GitHub that suggests that some parts of the Eto code need to be deactivated to suppress unnecessary layout calls. @dale Is there a chance the Eto dlls that ship with Rhino will be optimized for faster layouts?