🐛 2.5.12

This commit is contained in:
BookerLiu
2022-08-29 16:47:33 +08:00
parent 6ae4312bdf
commit 4f65c303a0
15 changed files with 1366 additions and 269 deletions

View File

@@ -39,11 +39,11 @@ namespace GeekDesk.Control.Windows
{
InitializeComponent();
this.colorPicker = colorPicker;
try
{
SetProcessDPIAware();
}
catch (Exception e) { }
//try
//{
// SetProcessDPIAware();
//}
//catch (Exception e) { }
ColorPickerWindow_Init();
}
@@ -206,5 +206,16 @@ namespace GeekDesk.Control.Windows
SetPixelAbout(e);
}
/// <summary>
/// 右键按下
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void Window_MouseRightButtonDown(object sender, MouseButtonEventArgs e)
{
GlobalColorPickerWindow.ShowOrHide();
//关闭
this.Close();
}
}
}