File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ public class TrayIcon : IDisposable
2828 const uint NIM_MODIFY = 0x00000001 ;
2929 const uint NIM_DELETE = 0x00000002 ;
3030 const uint NIM_SETVERSION = 0x00000004 ;
31+
3132 private const uint TrayIconCallbackId = 0x8765 ;
3233 private readonly Window _window ;
3334 private readonly nint _windowHandle ;
@@ -421,7 +422,7 @@ private void ProcessTrayIconEvents(Message message)
421422 return ;
422423 var type = ( WindowsMessages ) ( message . LParam & 0xffff ) ;
423424 var lparam = message . LParam & 0xffff0000 ;
424- System . Diagnostics . Debug . WriteLine ( $ "Tray { type } : LParam={ lparam . ToString ( "0x " ) } WParam=0x{ message . WParam . ToString ( "x2 " ) } ") ;
425+ System . Diagnostics . Debug . WriteLine ( $ "Tray { type } : LParam=0x { lparam . ToString ( "x " ) } WParam=0x{ message . WParam . ToString ( "x " ) } ") ;
425426
426427 TrayIconEventArgs ? args = null ;
427428 switch ( type )
You can’t perform that action at this time.
0 commit comments