110,534
社区成员
发帖
与我相关
我的任务
分享
public class DrawImageControl : Control
{
public DrawImageControl()
{
SetStyle(ControlStyles.OptimizedDoubleBuffer|ControlStyles.AllPaintingInWmPaint, true);
SetStyle(ControlStyles.UserPaint|ControlStyles.ContainerControl , true );
images = getImages();
timer1 = new Timer();
// this.BackColor = Color.Black ;
}
}