mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 19:46:29 +00:00
I like it move it move it
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System.Windows;
|
||||
using Azaion.Annotator.DTO;
|
||||
|
||||
namespace Azaion.Annotator;
|
||||
|
||||
public partial class HelpWindow : Window
|
||||
{
|
||||
private readonly Config _config;
|
||||
|
||||
public HelpWindow(Config config)
|
||||
{
|
||||
_config = config;
|
||||
Loaded += (_, _) => CbShowHelp.IsChecked = _config.ShowHelpOnStart;
|
||||
InitializeComponent();
|
||||
}
|
||||
private void Close(object sender, RoutedEventArgs e) => Close();
|
||||
|
||||
private void CbShowHelp_OnChecked(object sender, RoutedEventArgs e) => _config.ShowHelpOnStart = true;
|
||||
private void CbShowHelp_OnUnchecked(object sender, RoutedEventArgs e) => _config.ShowHelpOnStart = false;
|
||||
}
|
||||
Reference in New Issue
Block a user