Font txtfont;
//粗体
txtfont = new System.Drawing.Font("宋体", float.Parse("12"), (FontStyle)Enum.Parse(typeof(FontStyle), "Bold"), System.Drawing.GraphicsUnit.Point, ((byte)(134)));
//粗体+斜体
txtfont = new System.Drawing.Font("宋体", float.Parse("12"), (FontStyle)Enum.Parse(typeof(FontStyle), "Italic") ^ (FontStyle)Enum.Parse(typeof(FontStyle), "Italic"), System.Drawing.GraphicsUnit.Point, ((byte)(134)));