Eto.Forms spike: Convert PortableCreatorDialog and SelectCommandDialog #237
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proof of concept converting two WinForms dialogs to Eto.Forms to evaluate cross-platform UI modernization.
Implementation
New Projects
Central.Eto- Library with Eto.Forms dialog implementationsCentral.Eto.Demo- Demo application showcasing converted dialogsConverted Dialogs
PortableCreatorDialog- Portable installation creatorSelectCommandDialog- Command selection interface (simplified)Key Patterns
TableLayoutandStackLayoutResourceManager(17 languages preserved)Findings
Viable for cross-platform UI - Resx localization works unchanged, layout system is more flexible than WinForms anchoring, but requires manual UI construction.
Trade-offs - ~2x LOC per dialog (no designer code separation), steeper learning curve, but cleaner diffs and explicit layout logic.
See
ETO_FORMS_SPIKE.mdfor detailed analysis andsrc/Central.Eto/README.mdfor technical comparison.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
ci.appveyor.com/usr/bin/dotnet dotnet restore(dns block)/usr/bin/dotnet dotnet build(dns block)/usr/bin/dotnet dotnet build Central.Eto.Demo/Central.Eto.Demo.csproj --no-restore(dns block)t1.symcb.com/usr/bin/dotnet dotnet build(dns block)t2.symcb.com/usr/bin/dotnet dotnet build(dns block)tl.symcb.com/usr/bin/dotnet dotnet build(dns block)tl.symcd.com/usr/bin/dotnet dotnet build(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.