private void Initialize() { m_ToolTip = new DataTipForm(); m_ToolTip.Dock = DockStyle.Fill; m_ToolTip.Visible = false; m_MouseMessageFilter = new MouseMessageFilter(); m_MouseMessageFilter.AddControls(new Control[] { m_ToolTip, m_ToolTip.DataTree }); m_MouseMessageFilter.MouseDownEvent += new MouseDownEventHandler(MouseMessageFilter_MouseDownEvent); m_MouseMessageFilter.KeyDownEvent += new EventHandler(MouseMessageFilter_KeyDownEvent); Application.AddMessageFilter(m_MouseMessageFilter); }
public LiveDataTip() { m_ToolTip = new DataTipForm(); m_ToolTip.Dock = DockStyle.Fill; m_ToolTip.Visible = false; m_MouseMessageFilter = new MouseMessageFilter(); m_MouseMessageFilter.AddControls(new Control[] { m_ToolTip, m_ToolTip.DataTree }); m_MouseMessageFilter.MouseDownEvent += new MouseDownEventHandler(MouseMessageFilter_MouseDownEvent); Application.AddMessageFilter(m_MouseMessageFilter); UITools.Manager.OnMouseHover += new UITools.MouseHoverHandler(Manager_OnMouseHover); }
public LiveDataTip() { m_ToolTip = new DataTipForm(); m_ToolTip.Dock = DockStyle.Fill; m_ToolTip.Visible = false; m_MouseMessageFilter = new MouseMessageFilter(); m_MouseMessageFilter.AddControls(new Control[] { m_ToolTip, m_ToolTip.DataTree }); m_MouseMessageFilter.MouseDownEvent += new MouseDownEventHandler(MouseMessageFilter_MouseDownEvent); m_MouseMessageFilter.KeyDownEvent += new EventHandler(MouseMessageFilter_KeyDownEvent); Application.AddMessageFilter(m_MouseMessageFilter); UITools.Manager.OnMouseHover += new UITools.MouseHoverHandler(Manager_OnMouseHover); }
private void Initialize() { m_ToolTip = new DataTipForm(); m_ToolTip.Dock = DockStyle.Fill; m_ToolTip.Visible = false; m_MouseMessageFilter = new MouseMessageFilter(); m_MouseMessageFilter.AddControls(new Control[] { m_ToolTip, m_ToolTip.DataTree }); m_MouseMessageFilter.MouseDownEvent += new MouseDownEventHandler(MouseMessageFilter_MouseDownEvent); m_MouseMessageFilter.KeyDownEvent += new EventHandler(MouseMessageFilter_KeyDownEvent); Application.AddMessageFilter(m_MouseMessageFilter); }