DevExpress所有的窗体,使用同一款皮肤
https://www.devexpress.com/Support/Center/Question/Details/K18516
To accomplish your task, please execute the following steps:
1. Make all forms (parent and child) successors from the XtraForm Class . By default, they are inherited from the standard Form class. Our XtraForm is just a regular form that supports our Look and Feel Mechanism, so there will be no need to additionally change your code.
2. Then, you need to call SkinManager.EnableFormSkins and SkinManager.EnableMdiFormSkins methods before your form is shown to make our forms skinned. The Form Title Bar Skinning article describes how to do this.
3. Now all your forms use a default skin. To specify an application's skin at design time, please use our DefaultLookAndFeel component. Just drop it onto the main form and customize its properties as needed. To easily change the application's skin programmatically from any place in your application, you can use the UserLookAndFeel.Default static property. So, you do not need to refer to the parent form from the child one just to change the application's skin.
相关文章
- LeetCode高频题:dfs排列组合问题,剪枝策略,参观展厅总时间120分钟,请你给出所有可能的参观方案的个数
- 马斯克:你只见我谈笑间荣耀封神,却不知我曾险失所有
- [转]mysql如何修改所有的definer
- [转]vscode 插件推荐 - 献给所有前端工程师(2019.8.7更新)
- 【Charles】导出接口/获取接口所有数据
- 【专题文章导航】本篇收录了SQL注入、漏洞复现、后渗透、新增漏洞报告四个专题的所有文章
- 启用SharePoint 的 web application下面所有站点“备用语言”
- 浅析Array.reduce()语法、reduce执行流程、常见使用(所有值求和、提供初始值累加所有值、二维转一维、计算元素出现个数、按属性分类、顺序执行promise、功能型管道函数等)
- IDC:2016年第二季度全球WLAN市场所有地区增长强劲
- mysql:获取某个表的所有字段
- [LeetCode] 438. Find All Anagrams in a String 找出字符串中所有的变位词