예제 #1
0
파일: Theme.cs 프로젝트: yonder/mono
 public abstract Rectangle BalloonWindowRect(NotifyIcon.BalloonWindow control);
예제 #2
0
파일: Theme.cs 프로젝트: yonder/mono
 public abstract void DrawBalloonWindow(Graphics dc, Rectangle clip, NotifyIcon.BalloonWindow control);
예제 #3
0
		public override void HideBalloonWindow (IntPtr handle)
		{
			if (balloon_window == null || balloon_window.OwnerHandle != handle)
				return;

			balloon_window.Close ();
			balloon_window.Dispose ();
			balloon_window = null;
		}
예제 #4
0
		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 ();
		}
예제 #5
0
		internal override void SystrayBalloon(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.Timeout = timeout;
			balloon_window.Show ();
			
			SendMessage(handle, Msg.WM_USER, IntPtr.Zero, (IntPtr) Msg.NIN_BALLOONSHOW);	
		}
예제 #6
0
		public BalloonWindowProvider (NotifyIcon.BalloonWindow window) : base (window)
		{
			balloon = window;
		}