像QQ右下角的那种提示系统..就是一有新消息什么的就提示...

来源:百度知道 编辑:UC知道 时间:2024/09/28 11:14:20
用C#。NET实现的。。。最好有源代码。。。。哈哈。。谢谢了。。。这个是用在网络上的。。。多谢了。。。。
可以加分的。。。。你会把我气死的。。。晕。。我是要实现像QQ的这样的功能。。。

系统托盘提示?
给你段代码示例:
private void Form1_Resize(object sender, EventArgs e)
{
if (this.WindowState == FormWindowState.Minimized)
{
this.ShowInTaskbar = false;
this.Visible = false;
this.notifyIcon1.Visible = true;
this.notifyIcon1.ShowBalloonTip(2000);
}
}

private void notifyIcon1_MouseDoubleClick(object sender, MouseEventArgs e)
{
this.Visible = true;
this.WindowState = FormWindowState.Normal;
this.ShowInTaskbar = true;
this.notifyIcon1.Visible = false;
}

自己建一个窗口,移到屏幕的右下角就行了

楼上说的对,自己建一个无标题的窗体嘛,然后内容样式自己定了,位置用定时器,从右下角慢慢的移动到上面的那个位置不就行了。

同意楼上的说法,只要在有新消息时让窗口显示出来不就行了,也不一定要用定时器

名字前面的"专"是怎么申请的哈?

Public Class PopForm

Const time As Integer = 4000 &