首先看特效
-
开启双缓冲
SetStyle(
ControlStyles.ResizeRedraw
| ControlStyles.DoubleBuffer
| ControlStyles.UserPaint
| ControlStyles.AllPaintingInWmPaint
| ControlStyles.SupportsTransparentBackColor,
true
);
2.设置窗体透明、鼠标穿透、窗体置顶
this.TransparencyKey = this.BackColor = System.Drawing.SystemColors.Control;
this.TopMost = true;
3.设置定时器
_timer = new System.Timers.Timer();
_timer.Elapsed += _timer_Elapsed;
_timer.Interval = 140;
_timer.Start();
4.设置图像
5.