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);

        }

posted on 2010-08-26 12:30  Emosen  阅读(319)  评论(0编辑  收藏  举报