添加自定义字体
System.Drawing.Text.PrivateFontCollection privateFonts = new System.Drawing.Text.PrivateFontCollection(); privateFonts.AddFontFile("C:\\Documents and Settings\\QuartzMS.ttf"); System.Drawing.Font font = new Font(privateFonts.Families[0], 12); label1.Font = font;

浙公网安备 33010602011771号