Beispiel #1
0
        void intellisenseWPFControl_ToolTipChanged(object sender, IntellisenseEventArgs e)
        {
            if (string.IsNullOrEmpty(e.Intellisense))
            {
                return;
            }
            IntellisenseToolTip.Text = e.Intellisense;
            Point newLoac = new Point(WPFHost.Location.X + WPFHost.Size.Width + 5,
                                      WPFHost.Location.Y + 5);

            IntellisenseToolTip.Location = newLoac;
            IntellisenseToolTip.Visible  = true;
            IntellisenseTimer.Start();
        }
Beispiel #2
0
 void IntellisenseTimer_Tick(object sender, EventArgs e)
 {
     IntellisenseToolTip.Visible = false;
     IntellisenseTimer.Stop();
 }