2020
11-22
11-22
C# WinForm调用Shell_NotifyIcon的示例代码
publicclassInnerClass:Form{privateShell_NotifyIconExservicesClass=null;//接受主CLASS的实例句柄internalInnerClass(Shell_NotifyIconEx_servicesClass){servicesClass=_servicesClass;}privateconstintWM_LBUTTONDOWN=0x0201;//左键privateconstintWM_RBUTTONDOWN=0x204;//右键privateconstintWM_MBUTTONDOWN=0x207;//中键[DllImport("user32.dll",EntryPoint="Tr...
继续阅读 >