当前位置:网站首页>Theme Studio(主题工作室)
Theme Studio(主题工作室)
2022-06-30 09:35:00 【DotNeter-Hpf】
文章目录
1.启动 Theme Studio

1.1 左侧主题自定义,右侧控件预览
左侧随意选择主题颜色,右侧呈现对应颜色的效果
1.2 Export 按需导出
可以导出所有,或导出指定控件;减少最终输出组件的大小
导出文件为:VioletTheme.dll
2.代码中使用
2.1 Program中加载主题程序集
- 项目中引用 Syncfusion.Licensing.dll (可以NuGet下载)
- 项目引入 Export导出的dll
static void Main()
{
Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY");
SkinManager.LoadAssembly(typeof(VioletTheme).Assembly);
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
2.2 控件 ThemeName 属性赋值
public partial class Form1 : SfForm
{
public Form1()
{
InitializeComponent();
buttonEdit1.ThemeName = "VioletTheme";
}
private void Form1_Load(object sender, EventArgs e)
{
}
}
效果图:
使用主题前:

使用主题后:

边栏推荐
- Function simplification principle: save if you can
- Golang magic code
- 3.集成eslint、prettier
- 直播带货源码开发中,如何降低直播中的延迟?
- 抽象类和接口
- 1, 基本配置
- Pass anonymous function to simplification principle
- Clickhouse installation (quick start)
- Bluetooth BT RF test (forwarding)
- How do databases go to the enterprise cloud? Click to view the answer
猜你喜欢

Cb/s Architecture - Implementation Based on cef3+mfc

Practice of super integration and transformation of core production business of public funds

MCU firmware packaging Script Software

Financial private cloud infrastructure scheme evaluation (Architecture and storage)

Design of mfc+mysql document data management system based on VS2010

Dart development skills

Machine learning note 9: prediction model optimization (to prevent under fitting and over fitting problems)

Terminal -- Zsh of terminal three swordsmen

2021-10-20

小程序手持弹幕的原理及实现(uni-app)
随机推荐
Bluetooth BT RF test (forwarding)
Forrester senior analyst: five important trends in the development of the hyper convergence market
MySQL explain
P. Summary of NP, NPC, NP hard and other issues
JWT expiration processing - single token scheme
1. Basic configuration
How can we have high performance and simple agility in the enterprise cloud on oracle?
Flume learning 4
Self service terminal development process
Startup of MySQL green edition in Windows system
Eight sorts (II)
八大排序(二)
【新书推荐】Cleaning Data for Effective Data Science
Torch learning summary
UltraEdit delete empty line method
Demo of guavacache
CRF (conditional random field) learning summary
Redis docker 主从模式与哨兵sentinel
Deberta (decoding enhanced Bert with distinguished attention)
utils session&rpc