DevExpress的42种窗体样式
2021-04-24 12:25
标签:private valentine silver UI blueprint reg res 创建 sha 在Winform环境下DevExpress标题栏皮肤 第一步:添加DLL文件 Debug目录下添加: DevExpress.BonusSkins.v12.2.dll DevExpress.Utils.v12.2.dll DevExpress.Data.v12.2 第二步:引用 DevExpress.BonusSkins.v12.2.dll DevExpress.Utils.v12.2.dll DevExpress.Data.v12.2 DevExpress.Skins.SkinManager.EnableFormSkins(); 第四步:创建Form窗体 将public partial class Form1 : Form 改为public partial class Form1 : XtraForm 第五步:添加控件 1.添加defaultLookAndFeel控件,默认在DX.12.2:Components工具栏下。 2.添加comboBox控件。 3.comboBox添加选择事件 private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) DevExpress的42种窗体样式 标签:private valentine silver UI blueprint reg res 创建 sha 原文地址:http://www.cnblogs.com/AlexOneBlogs/p/7967345.html
DevExpress.UserSkins.BonusSkins.Register();
{
this.defaultLookAndFeel1.LookAndFeel.UseDefaultLookAndFeel = false;
this.defaultLookAndFeel1.LookAndFeel.UseWindowsXPTheme = false;
this.defaultLookAndFeel1.LookAndFeel.Style =DevExpress.LookAndFeel.LookAndFeelStyle.Skin;
string SkinName = this.comboBox1.SelectedItem.ToString();
this.defaultLookAndFeel1.LookAndFeel.SkinName = SkinName;
}
文章标题:DevExpress的42种窗体样式
文章链接:http://soscw.com/index.php/essay/78933.html