[MWB]Migrate to PowerToys-style shortcuts and better defaults(#27442)

* [MWB] Migrate to PowerToys-style shortcuts and disable Ctrlx3 for multiple mode

* f: analyzer fixes

* f: add Win to all default shortcuts

* f: remove capture screen feature

* f: add ability to disable shortcut

* f: restrict disabling shortcuts only for MWB for now, because we don't explicitly support this feature anywhere else

* handle downgrade->upgrade scenario

* f: res loader

* f: fix disabled state

* f: fix L hotkey handling
This commit is contained in:
Andrey Nekrasov
2023-07-26 13:46:41 +02:00
committed by GitHub
parent 61aa0a1f79
commit a99b2e0bc0
13 changed files with 354 additions and 415 deletions

View File

@@ -1,5 +1,6 @@
using System.Windows.Forms;
using System.Collections.Generic;
using System.Drawing;
namespace MouseWithoutBorders
{
@@ -713,6 +714,16 @@ namespace MouseWithoutBorders
this.groupBoxShortcuts.TabIndex = 200;
this.groupBoxShortcuts.TabStop = false;
this.groupBoxShortcuts.Text = " &Keyboard Shortcuts ";
ToolTip groupBoxToolTip = new ToolTip();
groupBoxToolTip.SetToolTip(this.groupBoxShortcuts, "These settings are controlled by the PowerToys.Settings application.");
foreach (Control control in this.groupBoxShortcuts.Controls)
{
control.Enabled = false;
}
//
// labelScreenCapture
//