闪烁动画

//闪烁动画

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace shanshuo
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void timer1_Tick(object sender, EventArgs e)
{
//250

pictureBox1.Visible = true;
timer1.Enabled = false;
timer2.Enabled = true;
}

private void timer2_Tick(object sender, EventArgs e)
{
//1000
pictureBox1.Visible = false;
timer1.Enabled = true;
timer2.Enabled = false;
}

}
}

你可能感兴趣的:(动画)