public partial class FrmMain : DevExpress.XtraEditors.XtraForm 只要在项目中的Program.cs中添加如下两句即可: DevExpress.Skins.SkinManager.EnableFormSkins(); DevExpress.Skins.SkinManager.EnableMdiFormSkins(); 转载于:https://www.cnblogs.com/wangyinlon/p/10905625.html