public override void Draw(GraphicsBase g) { if (this.Image != null) { g.DrawImage(this.Image, this.Location); } //画图片 base.Draw(g); }
public override void Draw(GraphicsBase g) { lock (_lockObj) { if (this.Background != null) { g.DrawImage(Background, this.Location); } //画图片 base.Draw(g); } }