Exemplo n.º 1
0
 /// <summary>
 /// 消息监听
 /// </summary>
 /// <param name="m"></param>
 protected override void WndProc(ref Message m)
 {
     if (m_host != null)
     {
         if (m_host.OnMessage(ref m) > 0)
         {
             return;
         }
     }
     base.WndProc(ref m);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 消息监听
 /// </summary>
 /// <param name="m"></param>
 protected override void WndProc(ref Message m)
 {
     if (m_host != null)
     {
         if (m_host.OnMessage(ref m) > 0)
         {
             return;
         }
     }
     if (m_xml != null)
     {
         (m_xml as MainFrame).WndProc(ref m);
     }
     base.WndProc(ref m);
 }
Exemplo n.º 3
0
 /// <summary>
 /// 消息监听
 /// </summary>
 /// <param name="m"></param>
 protected override void WndProc(ref Message m)
 {
     try
     {
         if (m_host != null)
         {
             if (m_host.OnMessage(ref m) > 0)
             {
                 return;
             }
         }
     }
     catch (Exception ex)
     {
         Console.WriteLine("1");
     }
     base.WndProc(ref m);
 }
Exemplo n.º 4
0
 /// <summary>
 /// 消息监听
 /// </summary>
 /// <param name="m"></param>
 protected override void WndProc(ref Message m)
 {
     if (m_host != null)
     {
         try
         {
             if (m_host.OnMessage(ref m) > 0)
             {
                 return;
             }
         }
         catch (Exception ex)
         {
             int a = 0;
         }
     }
     base.WndProc(ref m);
 }
Exemplo n.º 5
0
 /// <summary>
 /// 消息监听
 /// </summary>
 /// <param name="m"></param>
 protected override void WndProc(ref Message m)
 {
     if (m.Msg == 0x100 || m.Msg == 260)
     {
         if (m_native != null)
         {
             char key = (char)m.WParam;
             if (m_xml is MainFrame)
             {
                 (m_xml as MainFrame).ShowSearchDiv(key);
             }
         }
     }
     if (m_host != null)
     {
         if (m_host.OnMessage(ref m) > 0)
         {
             return;
         }
     }
     base.WndProc(ref m);
 }