Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WinForms - new demo project #522

Closed
rallets opened this issue Feb 18, 2022 · 3 comments
Closed

WinForms - new demo project #522

rallets opened this issue Feb 18, 2022 · 3 comments

Comments

@rallets
Copy link
Contributor

rallets commented Feb 18, 2022

I just submitted a PR with the a new WinForms demo project. Let me know if I need to improve something!
PR #518
Ps. the build failed, but because of the Blazor project, I don't think it's related to my PR.

The demo implements:

  • Dependency injection with Splat, views, and services.
  • How to use a main entry-point with Routing and UserControls.
  • How to open a new Form (outside the main routing).
  • Routing between screens/views.
  • Binding data and execute commands between View and ViewModel.
  • Bind to reactive properties (as calculated fields).
  • How to bind data to a ListBox via DataSource.
  • How to deal with UI events (via ReactiveMarbles.ObservableEvents.SourceGenerator).
  • How to use Interactions to show Modal form with or without DialogResult.
  • How to subscribe to UI changes like TextBox and ComboBox with sort info, and refresh the data in the UI.
  • How to use Dynamic Data and deal with Collections. See the note below.
  • Unit testing with custom scheduler and time-based scenarios.
  • etc.
@glennawatson
Copy link
Contributor

Thanks I'll get around to doing a proper review this weekend and probably fix that blazor stuff first.

Thanks for helping out

@rallets
Copy link
Contributor Author

rallets commented Feb 18, 2022

I think there is a glitch in the ItemsViewModel ItemsFiltered property using initialValue. If I remove initialValue everything works as expected, otherwise it doesn't update when a new value is emitted and the list remain empty. I'm wondering if you can give me a feedback about this when you review it.

@rallets rallets closed this as completed Mar 17, 2022
@github-actions
Copy link

github-actions bot commented Apr 1, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants