做这么一个控件,图片自动切换,形成动画效果. 随便的码码,码完发现东西太少了,不过还算完善. public class MyPictureBox : PictureBox { Timer timer = new Timer (); ; private bool run = false; public bool Run { get { return run; } set { run = value; if (value) timer.Start(); else timer.Stop(); } }…