[MWB]Remove shortcut for deprecated VKMap functionality(#26484)

* Comment out code hooking Ctrl+Shift+Alt+K to toggle unused UseVKMap setting

* [MWB] Remove UseVKMap and VKMap completely

---------

Co-authored-by: David Taylor <davidt@yadt.co.uk>
This commit is contained in:
Andrey Nekrasov
2023-05-30 18:46:42 +02:00
committed by GitHub
parent b50b587a63
commit 4cc74da82f
7 changed files with 8 additions and 67 deletions

View File

@@ -452,6 +452,7 @@ namespace MouseWithoutBorders
//
// checkBoxVKMap
//
this.checkBoxVKMap.Enabled = false;
this.checkBoxVKMap.AutoSize = true;
this.checkBoxVKMap.Location = new System.Drawing.Point(268, 98);
this.checkBoxVKMap.Name = "checkBoxVKMap";

View File

@@ -411,8 +411,8 @@ namespace MouseWithoutBorders
AddNewMachine();
}
checkBoxVKMap.Checked = Setting.Values.UseVKMap;
// NOTE(@yuyoyuppe): this option is deprecated
// checkBoxVKMap.Checked = Setting.Values.UseVKMap;
foreach (Machine m in machines)
{
if (m.StatusClient != SocketStatus.NA)
@@ -729,8 +729,9 @@ namespace MouseWithoutBorders
checkBoxDrawMouse.Checked = Setting.Values.DrawMouse;
checkBoxReverseLookup.Checked = Setting.Values.ReverseLookup;
checkBoxSameSubNet.Checked = Setting.Values.SameSubNetOnly;
checkBoxVKMap.Checked = Setting.Values.UseVKMap;
// NOTE(@yuyoyuppe): this option is deprecated
// checkBoxVKMap.Checked = Setting.Values.UseVKMap;
foreach (Machine m in machines)
{
m.MachineName = string.Empty;
@@ -1088,7 +1089,8 @@ namespace MouseWithoutBorders
private void CheckBoxVKMap_CheckedChanged(object sender, EventArgs e)
{
Setting.Values.UseVKMap = checkBoxVKMap.Checked;
// NOTE(@yuyoyuppe): this option is deprecated
// Setting.Values.UseVKMap = checkBoxVKMap.Checked;
ShowUpdateMessage();
}