C#中有动态对话框吗?是什么控件啊 就是在右下角自动出现,又自己慢慢消失的那种对话框 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 你说的那个,一般是利用JAVASCRIPT和层实现的! private void SetShow() { show = new System.Threading.Thread(ShowForm); show.IsBackground = true; show.Start(); Rectangle E = Screen.PrimaryScreen.Bounds; Point p = new Point(Screen.PrimaryScreen.WorkingArea.Width - 260, Screen.PrimaryScreen.WorkingArea.Height - 160); this.Location = p; } private void ShowForm() { double t = 0.1; while (true) { if (this.InvokeRequired) { SetForm d = delegate(double value) { this.Opacity = value; }; this.Invoke(d, new object[1] { t }); } else { this.Opacity = t; } t += 0.1; System.Threading.Thread.Sleep(150); if (this.Opacity == 1.0) { break; } } }窗体load 事件调用 SetShow()方法 LZ baidu google 一下会有很多的这种技术一般都是 javascript jquery 一些客户端的技术实现的。。 c#没有那种控件,自己开发的除外!楼主自己写个吧,BAIDU一下,很多资料的 asp.net可以这样用但是 winform中你只能实例话一个新窗体,然后控制窗体显示的位置和其他效果了 出现消失的动画可以用AnimateWindow函数来实现。用P/INVOKE调用一下就好了。位置的话, 自己用屏幕分辨率算就是了。不是很难。 散Demo C#读取字符串,要求存放为数组。 C# 的 小小问题 =========ComboBox实现类似于IE地址栏的问题,但是要跟Value绑定========== 帮忙看看这段代码有什么问题? 一个可能和session的奇怪问题(各位不要错过) 在C#中不调用Word实现打印Datagrid里的数据表格 用.net作文件下载,中文名限制长度,如何处理,急!!!!!!!!!在线等。等思归大哥。 如何实现只有关闭当前窗体才能进行其他操作? 建立ASP。NET应用程序出错疑问 c#数据库数据更新后无法登录 大量数据处理如何生成多线程的问题
private void SetShow()
{
show = new System.Threading.Thread(ShowForm);
show.IsBackground = true;
show.Start();
Rectangle E = Screen.PrimaryScreen.Bounds;
Point p = new Point(Screen.PrimaryScreen.WorkingArea.Width - 260, Screen.PrimaryScreen.WorkingArea.Height - 160);
this.Location = p;
} private void ShowForm()
{
double t = 0.1;
while (true)
{ if (this.InvokeRequired)
{
SetForm d = delegate(double value)
{ this.Opacity = value;
};
this.Invoke(d, new object[1] { t });
}
else
{
this.Opacity = t;
}
t += 0.1;
System.Threading.Thread.Sleep(150);
if (this.Opacity == 1.0)
{
break;
}
}
}
窗体load 事件调用 SetShow()方法
asp.net可以这样用
但是 winform中你只能实例话一个新窗体,然后控制窗体显示的位置和其他效果了
用P/INVOKE调用一下就好了。位置的话, 自己用屏幕分辨率算就是了。不是很难。