Derive nav/content shades from background and make config dialog frameless
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user