public MainWindow()
        {
            SetsInfo = SetCardsManager.Instance.SetCards.Select(set => new SetDetailInfoViewModel
            {
                SetName = set.SetName,
                SetCards = new TrulyObservableCollection<CardInCollection>(set.Cards.ToList())
            });

            InitializeComponent();

            Filter = new FilterSettings();
            Filter.PropertyChanged += (sender, args) =>
            {
                HandleFilterChange(sender, args);
            };
        }
        public MainWindow()
        {
            SetsInfo = HearthstoneCollectionTrackerPlugin.Settings.ActiveAccountSetsInfo.Select(set => new SetDetailInfoViewModel
            {
                SetName = set.SetName,
                SetCards = new TrulyObservableCollection<CardInCollection>(set.Cards.ToList())
            });

            InitializeComponent();

            Filter = new FilterSettings();
            Filter.PropertyChanged += (sender, args) =>
            {
                HandleFilterChange(sender, args);
            };
        }
        public MainWindow()
        {
            SetsInfo = HearthstoneCollectionTrackerPlugin.Settings.ActiveAccountSetsInfo.Select(set => new SetDetailInfoViewModel
            {
                SetName = set.SetName,
                SetCards = new TrulyObservableCollection<CardInCollection>(set.Cards.ToList())
            });

            this.MaxHeight = SystemParameters.PrimaryScreenHeight;
            InitializeComponent();

            Filter = new FilterSettings();
            Filter.PropertyChanged += (sender, args) =>
            {
                HandleFilterChange(sender, args);
            };

            string activeAccount = HearthstoneCollectionTrackerPlugin.Settings.ActiveAccount;
            Title = "Collection Tracker";
            if (!string.IsNullOrEmpty(activeAccount))
            {
                Title += " (" + activeAccount + ")";
            }
        }