• 大小: 15.56MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-22
  • 语言: 其他
  • 标签: DevExpress  

资源简介

DevExpress通过代码动态修改整个项目或窗体或控件的皮肤样式

资源截图

代码片段和文件信息

using DevExpress.LookAndFeel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace DevChangeFormSkinTest
{
    public partial class Form1 : DevExpress.XtraEditors.XtraForm
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void simpleButton1_Click(object sender EventArgs e)
        {
            UserLookAndFeel.Default.UseDefaultLookAndFeel = false;
            UserLookAndFeel.Default.SetSkinstyle(“Office 2010 Blue“);
        }

        private void simpleButton2_Click(object sender EventArgs e)
        {
            UserLookAndFeel.Default.UseDefaultLookAndFeel = false;
            UserLookAndFeel.Default.SetSkinstyle(“Office 2010 Black“);
        }

        private void simpleButton3_Click(object sender EventArgs e)
        {
            UserLookAndFeel.Default.UseDefaultLookAndFeel = false;
            UserLookAndFeel.Default.SetSkinstyle(“Office 2016 Colorful“);
        }

        private void simpleButton4_Click(object sender EventArgs e)
        {
            UserLookAndFeel.Default.UseDefaultLookAndFeel = false;
            UserLookAndFeel.Default.SetSkinstyle(“Coffee“);
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ..A..H.    161792  2016-02-16 09:37  DevChangeFormSkinTest\.vs\DevChangeFormSkinTest\v14\.suo

     文件     179496  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\de\DevExpress.Data.v15.2.resources.dll

     文件      14120  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\de\DevExpress.Printing.v15.2.Core.resources.dll

     文件      12072  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\de\DevExpress.Sparkline.v15.2.Core.resources.dll

     文件      26408  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\de\DevExpress.Utils.v15.2.resources.dll

     文件     105256  2016-02-14 08:35  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\de\DevExpress.XtraEditors.v15.2.resources.dll

     文件      10240  2016-02-16 09:17  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\DevChangeFormSkinTest.exe

     文件      19968  2016-02-16 09:17  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\DevChangeFormSkinTest.pdb

     文件      22696  2016-02-16 09:17  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\DevChangeFormSkinTest.vshost.exe

     文件        490  2015-10-22 09:54  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\DevChangeFormSkinTest.vshost.exe.manifest

     文件   11340584  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\DevExpress.BonusSkins.v15.2.dll

     文件    5198632  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\DevExpress.Data.v15.2.dll

     文件    1123927  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\DevExpress.Data.v15.2.xml

     文件    3715368  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\DevExpress.Printing.v15.2.Core.dll

     文件    1190076  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\DevExpress.Printing.v15.2.Core.xml

     文件      78632  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\DevExpress.Sparkline.v15.2.Core.dll

     文件      25581  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\DevExpress.Sparkline.v15.2.Core.xml

     文件    8255272  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\DevExpress.Utils.v15.2.dll

     文件     698238  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\DevExpress.Utils.v15.2.xml

     文件    4755240  2016-02-14 08:35  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\DevExpress.XtraEditors.v15.2.dll

     文件    2136178  2016-02-14 08:35  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\DevExpress.XtraEditors.v15.2.xml

     文件     180008  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\es\DevExpress.Data.v15.2.resources.dll

     文件      14120  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\es\DevExpress.Printing.v15.2.Core.resources.dll

     文件      14120  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\es\DevExpress.Sparkline.v15.2.Core.resources.dll

     文件      26408  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\es\DevExpress.Utils.v15.2.resources.dll

     文件      78632  2016-02-14 08:35  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\es\DevExpress.XtraEditors.v15.2.resources.dll

     文件     180008  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\ja\DevExpress.Data.v15.2.resources.dll

     文件      12584  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\ja\DevExpress.Printing.v15.2.Core.resources.dll

     文件      11048  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\ja\DevExpress.Sparkline.v15.2.Core.resources.dll

     文件      32552  2016-02-14 08:34  DevChangeFormSkinTest\DevChangeFormSkinTest\bin\Debug\ja\DevExpress.Utils.v15.2.resources.dll

............此处省略47个文件信息

评论

共有 条评论