Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 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);
 }
Exemplo n.º 4
0
 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);
 }