代码改变世界

右下角冒泡泡

2015-03-08 03:39  西伯利亚冻原  阅读(120)  评论(0编辑  收藏  举报

using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApplication7
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
notifyIcon1.ShowBalloonTip (3000,"你他妈的出来了啊","我是泡泡。。。。。。。。。。",ToolTipIcon.Info);
}
}
}

 

放置了notifyIcon1 要对她的属性进行设置才能用 把她放在按钮事件里面触发