
左侧随意选择主题颜色,右侧呈现对应颜色的效果

可以导出所有,或导出指定控件;减少最终输出组件的大小

导出文件为:VioletTheme.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());
}
public partial class Form1 : SfForm
{
public Form1()
{
InitializeComponent();
buttonEdit1.ThemeName = "VioletTheme";
}
private void Form1_Load(object sender, EventArgs e)
{
}
}
效果图:
使用主题前:

使用主题后:
