
























private void Form1_Paint(object sender, PaintEventArgs e)
{
System.Drawing.Drawing2D.GraphicsPath gp = new System.Drawing.Drawing2D.GraphicsPath();
gp.AddString("新年快乐!", this.Font.FontFamily, (int)FontStyle.Bold, 50, new RectangleF(0, 0, 400, 50), null);
e.Graphics.DrawPath(Pens.Black, gp);
}
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。