111,094
社区成员




public delegate void Paintp();
public event Paintp p;
protected override void OnPaint(PaintEventArgs e)//绿色
{
PointF pf = new PointF(0, 0); //注意文字显示的坐标位置
using (Graphics g = pictureBox1.CreateGraphics())
{
Font f = new Font("Arial", 12);
g.DrawString("Hello!", f, Brushes.Green, pf);
}
}