当前位置:网站首页>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)
{
}
}
效果图:
使用主题前:

使用主题后:

边栏推荐
- About the smart platform solution for business hall Terminal Desktop System
- 3.集成eslint、prettier
- The present situation and challenge of the infrastructure of Yiwen parsing database
- Flutter的特别之处在哪里
- Flutter 中的 ValueNotifier 和 ValueListenableBuilder
- 布隆过滤器
- Hospital integration platform super fusion infrastructure transformation scheme
- 单片机 MCU 固件打包脚本软件
- 【AGC】构建服务3-认证服务示例
- Self service terminal development process
猜你喜欢

How to build an all-in-one database cloud machine that meets the needs of information innovation?

Clickhouse installation (quick start)

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

MySQL-- Entity Framework Code First(EF Code First)

IDC released the report on China's software defined storage and hyper convergence market in the fourth quarter of 2020, and smartx hyper convergence software ranked first in the financial industry

Financial private cloud infrastructure scheme evaluation (Architecture and storage)

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

Shenhe thermomagnetic: Super fusion dual active cluster solution for MES system

近期学习遇到的比较问题

Terminal -- Zsh of terminal three swordsmen
随机推荐
JVM notes (III): analysis of JVM object creation and memory allocation mechanism
Xlnet (generalized autorefressive trainingfor language understanding) paper notes
MySQL explain
What makes flutter special
Mysql database learning 1
Object detection yolov5 open source project debugging
Cronexpression expression explanation and cases
Utils collaboration
Galaxy Kirin server-v10 configuration image source
Initialize static resource demo
Self service terminal handwritten Chinese character recognition input method library tjfink introduction
Pass anonymous function to simplification principle
Upgrade log4j2 to 2.17.1 stepped pit
布隆过滤器
How can we have high performance and simple agility in the enterprise cloud on oracle?
基于Svelte3.x桌面端UI组件库Svelte UI
Self service terminal development process
Techtarget: Interpretation of the basic concept of super fusion cloud
DDD interview
Utlis memory pool object pool