DevExpress 小结

DevExpress skin
 1  
 2 //加载皮肤
 3  void InitSkinGallery()
 4         {
 5             SkinHelper.InitSkinGallery(rgbiSkins, true);
 6         }
 7 
 8 
 9 //构造函数初始化是加载皮肤
10  public MasterForm()
11         {
12             InitializeComponent();
13             InitSkinGallery();
14         }
选项卡切换
      private DevExpress.XtraTabbedMdi.XtraTabbedMdiManager xtraTabbedMdiManager1;



    AddRoleForm urf;

         if (xtraTabbedMdiManager1.Pages[urf] == null)
            {
                urf = new AddRoleForm();
                urf.MdiParent = this;
                urf.Show();
                urf.Activate();
            }
            xtraTabbedMdiManager1.SelectedPage = xtraTabbedMdiManager1.Pages[urf];

 

posted @ 2012-06-27 10:45  石 磊  阅读(480)  评论(0编辑  收藏  举报