コード例 #1
0
ファイル: CbtHook.cs プロジェクト: jdiscar/reminder19
 // handle the DESTROYWND hook event
 private void HandleDestroyWndEvent(IntPtr wParam, IntPtr lParam)
 {
     if (WindowDestroye != null)
     {
         CbtEventArgs e = new CbtEventArgs(wParam, lParam);
         WindowDestroye(this, e);
     }
 }
コード例 #2
0
ファイル: CbtHook.cs プロジェクト: jdiscar/reminder19
 // handle the CREATEWND hook event
 private void HandleCreateWndEvent(IntPtr wParam, IntPtr lParam)
 {
     if (WindowCreate != null)
     {
         CbtEventArgs e = new CbtEventArgs(wParam, lParam);
         WindowCreate(this, e);
     }
 }