mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-01-13 17:22:48 -05:00
33 lines
686 B
C#
33 lines
686 B
C#
using FeedCenter.Properties;
|
|
using System.Windows;
|
|
|
|
namespace FeedCenter.Options;
|
|
|
|
public partial class DisplayOptionsPanel
|
|
{
|
|
public DisplayOptionsPanel(Window parentWindow, FeedCenterEntities entities) : base(parentWindow, entities)
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public override string CategoryName => Properties.Resources.optionCategoryDisplay;
|
|
|
|
public override void LoadPanel()
|
|
{
|
|
base.LoadPanel();
|
|
|
|
MarkLoaded();
|
|
}
|
|
|
|
private void OnSaveSettings(object sender, RoutedEventArgs e)
|
|
{
|
|
SaveSettings();
|
|
}
|
|
|
|
private void SaveSettings()
|
|
{
|
|
if (!HasLoaded) return;
|
|
|
|
Settings.Default.Save();
|
|
}
|
|
} |