Exemple #1
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);
		}
Exemple #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);
        }