Inheritance: System.EventArgs
コード例 #1
0
 protected void SystemMenu_SystemEvent(object sender, WindowMenuEventArgs ev)
 {
     SendNCWinMessage(USER32.WM_SYSCOMMAND, (IntPtr)ev.SystemCommand, IntPtr.Zero);
 }
コード例 #2
0
ファイル: WindowMenu.cs プロジェクト: noahsw/highlight-hunter
 private void SendSysCommand(USER32.SysCommand command)
 {
     if (this.SystemEvent != null)
     {
         WindowMenuEventArgs ev = new WindowMenuEventArgs((int)command);
         this.SystemEvent(this, ev);
     }
 }