Derive nav/content shades from background and make config dialog frameless

This commit is contained in:
Meik
2026-03-05 12:05:51 +01:00
parent 48ae3a5a8f
commit d4777636fc
3 changed files with 129 additions and 7 deletions

View File

@@ -53,6 +53,23 @@ namespace C4IT_CustomerPanel.forms
MessageBox.Show(cc,"Additional Copyrights");
}
private void Header_MouseLeftButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
{
if (e.LeftButton == System.Windows.Input.MouseButtonState.Pressed)
DragMove();
}
private void OnCloseButtonClick(object sender, RoutedEventArgs e)
{
Close();
}
private void ConfigInfo_KeyDown(object sender, System.Windows.Input.KeyEventArgs e)
{
if (e.Key == System.Windows.Input.Key.Escape)
Close();
}
private void Button_PreviewMouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
{