OnPaint gets access to a graphics object and a rectangle to draw in through the Graphics and the ClipRectangle properties of the PaintEventArgs instance passed to it.

  • OnPaint通过传递给它的PaintEventArgs实例的Graphics和ClipRectangle属性来访问图形对象以及要在其中进行绘制的矩形。
目录 查词历史