SystemTrayMenu/UserInterface/HowToOpenSettingsWindow.xaml.cs
Peter Kirmeier 26b9a755c3 [Feature] Show hint to find settings and enable by default 'Show function key Settings' #490
(cherry picked from commit 00b4c5ddcc)

Additional changes:
ResourceLoading improved for Window icons
Fix not working OK button of UpdateWindow
2023-08-11 22:29:08 +02:00

35 lines
1.1 KiB
C#

// <copyright file="HowToOpenSettingsWindow.xaml.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
//
// Copyright (c) 2023-2023 Peter Kirmeier
namespace SystemTrayMenu.UserInterface
{
using System.Windows;
using SystemTrayMenu.Resources;
using SystemTrayMenu.Utilities;
/// <summary>
/// Logic of HowToOpenSettings window.
/// </summary>
public partial class HowToOpenSettingsWindow : Window
{
public HowToOpenSettingsWindow()
{
InitializeComponent();
Icon = StaticResources.ApplicationImgSrc;
// TODO: Find a way to escape ' within inline single quotes markup string in XAML
checkBoxDontShowThisHintAgain.Content = Translator.GetText("Don't show this hint again.");
}
internal bool DoNotShowAgain => checkBoxDontShowThisHintAgain.IsChecked ?? false;
private void ButtonOk_Click(object sender, RoutedEventArgs e)
{
Close();
}
}
}