111,126
社区成员
发帖
与我相关
我的任务
分享private void timer1_Tick(object sender, EventArgs e)
{
if (this.Opacity > 0.1)
{
this.Opacity = this.Opacity - 0.1;
}
else
{
frmMain frm = new frmMain();//这里调用主窗体
frm.Show();
this.Close();
timer1.Enabled = false;
}
}//需要先把opacity设置为0
public double d=0.1;
private void timer1_Tick(object sender, EventArgs e)
{
if (this.Opacity +d < 1)
{
this.Opacity = this.Opacity + 0.1;
}
else
{
Form3 frm = new Form3();
frm.Show();
this.Hide();
}
}//需要先把opacity设置为0
public double d=0.1;
private void timer1_Tick(object sender, EventArgs e)
{
if (this.Opacity +d < 0.1)
{
this.Opacity = this.Opacity + 0.1;
}
else
{
Form3 frm = new Form3();
frm.Show();
this.Hide();
}
}private void timer1_Tick(object sender, EventArgs e)
{
if (this.Opacity > 0.1)
{
this.Opacity = this.Opacity - 0.1;
}
else
{
Form3 frm = new Form3();
frm.Show();
this.Close();
timer1.Enabled = false;
}
}