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];

 

版权声明:本文为-ShiL原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/-ShiL/archive/2012/06/27/Star201206271044.html