添加 自定义菜单图标

This commit is contained in:
liufei
2021-07-07 17:28:29 +08:00
parent 9b9d08a594
commit ccd00afbb2
23 changed files with 1489 additions and 107 deletions

View File

@@ -79,7 +79,10 @@ namespace GeekDesk
{
HandyControl.Controls.Growl.WarningGlobal("启动快捷键已被其它程序占用(" + appData.AppConfig.HotkeyStr + ")!");
}
//AeroGlassHelper.ExtendGlass(this);
//AeroGlassHelper.ExtendGlass(BBB, (int)this.Margin.Left, (int)this.Margin.Right, (int)this.Margin.Top, (int)this.Margin.Bottom);
}
private void DisplayWindowHotKeyPress(object sender, KeyPressedEventArgs e)
@@ -99,7 +102,6 @@ namespace GeekDesk
}
void MainWindow_Resize(object sender, System.EventArgs e)
{
if (this.DataContext != null)
@@ -347,7 +349,15 @@ namespace GeekDesk
}
}
private void window_SizeChanged(object sender, SizeChangedEventArgs e)
{
if (this.DataContext != null)
{
AppData appData = this.DataContext as AppData;
appData.AppConfig.WindowWidth = this.Width;
appData.AppConfig.WindowHeight = this.Height;
}
}
}