嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):78630559
本次赞助数额为: 2 元微信扫码支付:2 元
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
C# 页面切换多种动态效果
private void Form2_Shown(object sender, EventArgs e)
{
IntPtr handle = this.Handle;
IntPtr handle1 = m_f1.Handle;
Form1.CLAYUI_InitDialog2(handle, handle1);
foreach (System.Windows.Forms.Control control in this.Controls)
{
Form1.WinRedraw(control.Handle, 0);
}
timer1.Start();
}
protected override void OnPaint(PaintEventArgs e)
{
IntPtr handle = this.Handle;
if (m_isredraw == 1)
base.OnPaint(e);
}
private void timer1_Tick(object sender, EventArgs e)
{
IntPtr handle = this.Handle;
if (Form1.IsPlay() == 0)
{
timer1.Stop();
foreach (System.Windows.Forms.Control control in this.Controls)
{
Form1.WinRedraw(control.Handle, 1);
}
Update();
}
else
Form1.Redraw(handle, 1);
}