110,555
社区成员
发帖
与我相关
我的任务
分享
Point p = new Point();
private void Form1_MouseClick(object sender, MouseEventArgs e)
{
p = e.Location;
this.Invalidate();
}
private void Form1_Paint(object sender, PaintEventArgs e)
{
e.Graphics.DrawImage(Resource.blue, p.X, p.Y, 36, 36);
}