More cleanup and fixes

This commit is contained in:
2023-04-12 11:35:19 -04:00
parent 64d0f770ca
commit a81cf5e69f
28 changed files with 472 additions and 473 deletions

View File

@@ -1,4 +1,5 @@
using ChrisKaczor.Wpf.Validation;
using FeedCenter.Data;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
@@ -14,10 +15,10 @@ namespace FeedCenter.Options
InitializeComponent();
}
public bool? Display(FeedCenterEntities database, Feed feed, Window owner)
public bool? Display(Feed feed, Window owner)
{
// Bind the category combo box
CategoryComboBox.ItemsSource = database.Categories;
CategoryComboBox.ItemsSource = Database.Entities.Categories;
// Set the data context
DataContext = feed;
@@ -85,4 +86,4 @@ namespace FeedCenter.Options
Close();
}
}
}
}