mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Debug infos only for Debug Config
This commit is contained in:
committed by
Riley McArdle
parent
bfe68ad3eb
commit
611d352103
@@ -683,7 +683,9 @@ Public Class frmMain
|
||||
|
||||
Protected Overloads Overrides Sub WndProc(ByRef m As Message)
|
||||
Try
|
||||
'Debug.Print(m.Msg)
|
||||
#If Config = "Debug" Then
|
||||
Debug.Print(m.Msg)
|
||||
#End If
|
||||
|
||||
Select Case m.Msg
|
||||
Case WM_GETTEXT
|
||||
|
||||
@@ -215,7 +215,7 @@ Namespace UI
|
||||
|
||||
' Main form handle command key events
|
||||
Protected Overrides Function ProcessCmdKey(ByRef msg As System.Windows.Forms.Message, ByVal keyData As System.Windows.Forms.Keys) As Boolean
|
||||
#If DEBUG Then
|
||||
#If Config = "Debug" Then
|
||||
Debug.Print("key: " & keyData.ToString)
|
||||
Debug.Print("msg: " & msg.Msg)
|
||||
Debug.Print("hwnd: " & msg.HWnd.ToString)
|
||||
|
||||
Reference in New Issue
Block a user