mirror of
https://github.com/2dust/v2rayN.git
synced 2025-07-04 05:52:09 +00:00
删除调试代码
This commit is contained in:
parent
5e9f4ad926
commit
0bf4a43663
1 changed files with 1 additions and 3 deletions
|
@ -7,7 +7,6 @@ using System.Windows.Input;
|
||||||
using v2rayN.Handler;
|
using v2rayN.Handler;
|
||||||
using v2rayN.Mode;
|
using v2rayN.Mode;
|
||||||
using v2rayN.Resx;
|
using v2rayN.Resx;
|
||||||
using Forms = System.Windows.Forms;
|
|
||||||
|
|
||||||
namespace v2rayN.Views
|
namespace v2rayN.Views
|
||||||
{
|
{
|
||||||
|
@ -29,8 +28,8 @@ namespace v2rayN.Views
|
||||||
txtGlobalHotkey3.KeyDown += TxtGlobalHotkey_KeyDown;
|
txtGlobalHotkey3.KeyDown += TxtGlobalHotkey_KeyDown;
|
||||||
txtGlobalHotkey4.KeyDown += TxtGlobalHotkey_KeyDown;
|
txtGlobalHotkey4.KeyDown += TxtGlobalHotkey_KeyDown;
|
||||||
|
|
||||||
this.Closing += (s, e) => HotkeyHandler.Instance.IsPause = false;
|
|
||||||
HotkeyHandler.Instance.IsPause = true;
|
HotkeyHandler.Instance.IsPause = true;
|
||||||
|
this.Closing += (s, e) => HotkeyHandler.Instance.IsPause = false;
|
||||||
Utils.SetDarkBorder(this, _config.uiItem.colorModeDark);
|
Utils.SetDarkBorder(this, _config.uiItem.colorModeDark);
|
||||||
InitData();
|
InitData();
|
||||||
}
|
}
|
||||||
|
@ -51,7 +50,6 @@ namespace v2rayN.Views
|
||||||
|
|
||||||
private void TxtGlobalHotkey_KeyDown(object sender, KeyEventArgs e)
|
private void TxtGlobalHotkey_KeyDown(object sender, KeyEventArgs e)
|
||||||
{
|
{
|
||||||
Debug.WriteLine($"{e.Key}{e.SystemKey}");
|
|
||||||
e.Handled = true;
|
e.Handled = true;
|
||||||
var _ModifierKeys = new Key[] { Key.LeftCtrl, Key.RightCtrl, Key.LeftShift,
|
var _ModifierKeys = new Key[] { Key.LeftCtrl, Key.RightCtrl, Key.LeftShift,
|
||||||
Key.RightShift, Key.LeftAlt, Key.RightAlt, Key.LWin, Key.RWin};
|
Key.RightShift, Key.LeftAlt, Key.RightAlt, Key.LWin, Key.RWin};
|
||||||
|
|
Loading…
Reference in a new issue