mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-09-06 20:51:15 +12:00
Remove use of resx file Resource files are marked as "Resource" instead Resources are loaded via resource dictionaries (either from code behind or XAML directly through binding) Reduce amount of required image conversions Also fix overlay of 50 percent transparency (is now rendered half transparent correct instead of adding "white fog") Remove obsolete image as rendering is done directly in code Also fix rendering of link indicator at correct image position Also remove setting Icons of all Windows (as default is application icon anyway)
32 lines
991 B
C#
32 lines
991 B
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.Utilities;
|
|
|
|
/// <summary>
|
|
/// Logic of HowToOpenSettings window.
|
|
/// </summary>
|
|
public partial class HowToOpenSettingsWindow : Window
|
|
{
|
|
public HowToOpenSettingsWindow()
|
|
{
|
|
InitializeComponent();
|
|
|
|
// 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();
|
|
}
|
|
}
|
|
}
|