C# Class WinLib.WinAPI.BalloonTip

显示文件 Open project: SortByte/Network-Manager

Public Methods

Method Description
BalloonTip ( string text, Control control ) : System
BalloonTip ( string title, string text, Control control, ICON icon, double timeOut, bool allowMulti = false, bool focus = false, short x, short y ) : System

CloseAll ( ) : void

Private Methods

Method Description
Close ( ) : void
Show ( string title, string text, Control control, ICON icon, double timeOut, bool allowMulti = false, bool focus = false, short x, short y ) : void
control_Event ( object sender, EventArgs e ) : void
timer_Elapsed ( object sender, System e ) : void

Method Details

BalloonTip() public method

public BalloonTip ( string text, Control control ) : System
text string
control System.Windows.Forms.Control
return System

BalloonTip() public method

public BalloonTip ( string title, string text, Control control, ICON icon, double timeOut, bool allowMulti = false, bool focus = false, short x, short y ) : System
title string
text string
control System.Windows.Forms.Control Control over which the balloon will be shown and whos events will be monitored (Leave, Click, TextChanged, etc)
icon ICON
timeOut double
allowMulti bool Whether or no multtiple ballons are allowd. If not, all the other balllons will be close
focus bool Focus control
x short Balloon Y position in screen coordinates
y short Balloon X position in screen coordinates
return System

CloseAll() public static method

public static CloseAll ( ) : void
return void