Files @ a78dba5bed0e
Branch filter:

Location: ATITD-Tools/Desert-Paint-Codex/Views/ReactionTestView.axaml.cs - annotation

Jason Maltzen
Add stub view model code for recipe library (future feature work)
using System.Reactive;
using System.Reactive.Disposables;
using Avalonia.Markup.Xaml;
using DesertPaintCodex.ViewModels;
using ReactiveUI;

namespace DesertPaintCodex.Views
{
    public class ReactionTestView : UserControlBase<ReactionTestViewModel>
    {
        public ReactionTestView()
        {
            InitializeComponent();
            
            this.WhenActivated(disposables=>
            {
                ViewModel?.ShowScreenSettingsDialog.RegisterHandler(ShowDialog<ScreenSettingsView,ScreenSettingsViewModel,Unit>).DisposeWith(disposables);
            });

        }
        private void InitializeComponent()
        {
            AvaloniaXamlLoader.Load(this);
        }
        

    }

}