1把IrisSkin2.dll和.SSK文件复制到bin\Debug目录下(.SSK我放在了skin文件夹下);
2.在工程里添加引用;
3.在form上添加两个Button: button1,button2;
4.代码:

public partial class Form1 : Form
    {
        Sunisoft.IrisSkin.SkinEngine se = null;
        public Form1()
        {
            InitializeComponent();
            se = new Sunisoft.IrisSkin.SkinEngine();
            se.SkinAllForm = true;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            se.SkinFile = "skin/MP10.ssk";
        }

        private void button2_Click(object sender, EventArgs e)
        {
            se.SkinFile = "skin/MSN.ssk";
        }
    }

相关文章:

  • 2021-08-12
  • 2021-07-25
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
  • 2021-08-25
  • 2021-08-08
猜你喜欢
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2021-09-22
相关资源
相似解决方案