コード例 #1
0
 /// <summary>
 /// We need to handle WM_POWERBROADCAST.
 /// </summary>
 /// <param name="message"></param>
 public void OnWndProc(ref Message message)
 {
     //Hook in our power manager
     if (iPowerSettingNotifier != null)
     {
         iPowerSettingNotifier.WndProc(ref message);
     }
 }
コード例 #2
0
ファイル: FormClientIdle.cs プロジェクト: Slion/CIC
        /// <summary>
        /// Broadcast messages to subscribers.
        /// </summary>
        /// <param name="message"></param>
        protected override void WndProc(ref Message aMessage)
        {
            //Hook in our power manager
            if (iPowerSettingNotifier != null)
            {
                iPowerSettingNotifier.WndProc(ref aMessage);
            }

            base.WndProc(ref aMessage);
        }