System.Windows.Forms.ToolTip.ToolTipWindow.PresentModal C# (CSharp) Method

PresentModal() public method

public PresentModal ( Control control, string text ) : void
control Control
text string
return void
			public void PresentModal (Control control, string text)
			{
				if (IsDisposed)
					return;

				Size display_size;
	//			XplatUI.GetDisplaySize (out display_size);

				associated_control = control;

				Text = text;

				PopupEventArgs pea = new PopupEventArgs (control, control, false, Size.Empty);
				OnPopup (pea);

				if (pea.Cancel)
					return;

				Size = pea.ToolTipSize;

				Visible = true;
			}