怎么才能让窗体弹出前像QQ一样有个缓冲窗体
除了用始终的方法有没有其他的方法了
[解决办法]
Generation frmShowWarning = new Generation();//Generation为要弹出的窗体 Point p = new Point(Screen.PrimaryScreen.WorkingArea.Width - frmShowWarning.Width, Screen.PrimaryScreen.WorkingArea.Height);
frmShowWarning.PointToScreen(p);
frmShowWarning.Location = p;
frmShowWarning.ifm = this;
frmShowWarning.Show();
for (int i = 0; i >= frmShowWarning.Height; i++)
{
frmShowWarning.Location = new Point(p.X, p.Y - i);
//Thread.Sleep(10);//将线程沉睡时间调的越小升起的越快
}