DEV上肤

1,在Main中加入此语句
DevExpress.UserSkins.BonusSkins.Register();
SkinManager.EnableFormSkins();
DevExpress.LookAndFeel.UserLookAndFeel.Default.SetSkinStyle("Seven Classic");
Application.EnableVisualStyles();

2,主窗口内加入此代码,然后在初始化时调用即可
private void InitSkins()
{
    SkinHelper.InitSkinGallery(ribbonGalleryBarItem1, true);
    UserLookAndFeel.Default.SetSkinStyle("DevExpress Style");
}


posted @ 2013-11-22 17:45  pnljs  阅读(230)  评论(0编辑  收藏  举报