新手问题,请大家帮忙看看,非常感谢!
今天自学的时候,看到一个组件:NotifyIcon
主要的代码如下:
public Form1() { InitializeComponent(); this.Load +=new EventHandler(Form1_Load); } void Form1_Load(object sender, EventArgs e) { this.notifyIcon1.Visible = true; this.notifyIcon1.ShowBalloonTip(20,"信息","您有新的邮件",ToolTipIcon.Info); //NotifyIcon.ShowBalloonTip方法:时间,标题,文本,图标; }