您的位置: 首页 > IT文章 > 枚举转字符串 枚举转字符串 分类: IT文章 • 2023-10-28 09:52:52 string str = Enum.GetName(typeof(FontStyle), fontDialog1.Font.Style); MessageBox.Show(str);