fontstyle.Add("下划线", FontStyle.Underline);
//string sty=ini.ReadString("ShowStyle","FontStyle","常规");//使用label显示该字符串正常.
//Font fnt = new Font("微软雅黑", 24, fontstyle[sty]);//提示字典中没有该键值.
string sty = "下划线";
Font fnt = new Font("微软雅黑", 24, fontstyle[sty]);难道是我使用的ini操作类在转换string时有错误?
感谢.