mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-01-14 09:35:40 -05:00
32 lines
731 B
C#
32 lines
731 B
C#
using ChrisKaczor.ApplicationUpdate;
|
|
using FeedCenter.Properties;
|
|
using System.Windows;
|
|
|
|
namespace FeedCenter.Options;
|
|
|
|
public partial class UpdateOptionsPanel
|
|
{
|
|
public UpdateOptionsPanel(Window parentWindow) : base(parentWindow)
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public override string CategoryName => Properties.Resources.optionCategoryUpdate;
|
|
|
|
private void HandleCheckVersionNowButtonClick(object sender, RoutedEventArgs e)
|
|
{
|
|
UpdateCheck.DisplayUpdateInformation(true);
|
|
}
|
|
|
|
private void OnSaveSettings(object sender, RoutedEventArgs e)
|
|
{
|
|
SaveSettings();
|
|
}
|
|
|
|
private void SaveSettings()
|
|
{
|
|
if (!HasLoaded) return;
|
|
|
|
Settings.Default.Save();
|
|
}
|
|
} |