Files @ 5e28ba3945f7
Branch filter:

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

Jason Maltzen
Recipe count is now a ulong instead of an int so it can show values > 2.47 billion. Also, don't allow clearing the recipe list while the recipe generator is running.
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);
        }
        

    }

}