using System; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Test05 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e)…
可以设置控件的Tag为this.skinEngine1.DisableTag [DefaultValue()] [Description("If you do not want skin the control, Set Control's Tag property to this")] public int DisableTag { get; set; } 可以看出来默认值是9999 即设置控件的Tag为9999即可显示单独的样式 不这样的话会发现设置forecolor之类的完全无效…