Windows Forms

Windows Forms

Ensure that you install reactiveui.winforms into your application.

Your viewmodels should inherit from ReactiveObject

Use ISupportsActivation and WhenActivated for lifecycle

Keep references to your subscriptions

Use disposables to manage lifetime, scope and resources:

Don't use eventhandlers, use the extension methods shipped in reactiveui.events.winforms instead

Use your normal WinForms concepts that you would usually use in WinForms development. There's also some extension methods which will make your life easier