System.Windows.Forms.ThemeWin32Classic.ShowBalloonWindow C# (CSharp) Method

ShowBalloonWindow() public method

public ShowBalloonWindow ( IntPtr handle, int timeout, string title, string text, ToolTipIcon icon ) : void
handle IntPtr
timeout int
title string
text string
icon ToolTipIcon
return void
		public override void ShowBalloonWindow (IntPtr handle, int timeout, string title, string text, ToolTipIcon icon)
		{
			Control control = Control.FromHandle(handle);
			
			if (control == null)
				return;

			if (balloon_window != null) {
				balloon_window.Close ();
				balloon_window.Dispose ();
			}

			balloon_window = new NotifyIcon.BalloonWindow (handle);
			balloon_window.Title = title;
			balloon_window.Text = text;
			balloon_window.Icon = icon;
			balloon_window.Timeout = timeout;
			balloon_window.Show ();
		}
ThemeWin32Classic