/// <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); }
/// <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); }
/// <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); }
/// <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); }
/// <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); }