System.Windows.Forms.ToolTip.Hide C# (CSharp) Method

Hide() public method

public Hide ( IWin32Window win ) : void
win IWin32Window
return void
		public void Hide (IWin32Window win)
 		{
			timer.Stop ();
			state = TipState.Initial;

			UnhookFormEvents ();
			tooltip_window.Visible = false;
		}
		#endregion	// Public Instance Methods

Usage Example

        private void listview_largeicon_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            System.Windows.Forms.ListViewItem lv = this.listview_largeicon.GetItemAt(e.X, e.Y);

            if (lv != null)
            {
                if (pointView.X != e.X || pointView.Y != e.Y)//防止闪烁

                {
                    string str_temp   = lv.SubItems[0].Text.Replace("#", "");
                    int    index_temp = mysqlID_to_listID(ellipse_list_tab4, Convert.ToInt16(str_temp));

                    toolTip_tab3.Show(ellipse_list_tab2[index_temp].ToolTip.ToString(), listview_largeicon, new System.Drawing.Point(e.X, e.Y), 10000);

                    pointView.X = e.X;

                    pointView.Y = e.Y;

                    toolTip_tab3.Active = true;
                }
            }
            else
            {
                toolTip_tab3.Hide(listview_largeicon);
            }
        }
All Usage Examples Of System.Windows.Forms.ToolTip::Hide