需要引用命名空间using System.Drawing.Text;.... //获取系统字体:InstalledFontCollection fc = new InstalledFontCollection();foreach( FontFamily font in fc.Families ){ ListItem tmp = new ListItem( font.Name , font.Name );this.styleFont.Items.Add( tmp );}//获取系统预定义颜色:Ar…