Add template project

This commit is contained in:
2026-02-27 12:17:48 -05:00
parent e2236ddc16
commit de3f6c2e98
29 changed files with 2110 additions and 2 deletions

View File

@@ -0,0 +1,38 @@
using System.Windows;
using System.Windows.Input;
using Template.Properties;
namespace Template.SettingsWindow;
public partial class UpdateSettingsPanel
{
public UpdateSettingsPanel()
{
InitializeComponent();
}
public override string CategoryName => Properties.Resources.optionCategoryUpdate;
private async void HandleCheckVersionNowButtonClick(object sender, RoutedEventArgs e)
{
var cursor = Cursor;
Cursor = Cursors.Wait;
await UpdateCheck.DisplayUpdateInformation(true);
Cursor = cursor;
}
private void OnSaveSettings(object sender, RoutedEventArgs e)
{
SaveSettings();
}
private void SaveSettings()
{
if (!HasLoaded) return;
Settings.Default.Save();
}
}