文件名称:qscxder
介绍说明--下载内容均来自于网络,请自行研究使用
窗体换肤功
public partial class Form1 : Form
{
Sunisoft.IrisSkin.SkinEngine se = null
public Form1()
{
InitializeComponent()
se = new Sunisoft.IrisSkin.SkinEngine()
se.SkinAllForm = true // 这句话是用来设置整个系统下所有窗体都采用这个皮肤
}
private void Form1_Load(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
se.SkinFile = "skin/SteelBlack.ssk" // 选择皮肤
}
private void button2_Click(object sender, EventArgs e)
{
se.SkinFile = "skin/MSN.ssk" // 选择皮肤
}
private void button3_Click(object sender, EventArgs e)
{
se.SkinFile = "skin/MP10.ssk"
Form2 f = new Form2()
f.Show()
}
}
说明: "skin/SteelBlack.ssk" , 这是一个路径,是.ssk文件存放的路径-Form reactive skin
public partial class Form1 : Form
{
Sunisoft.IrisSkin.SkinEngine se = null
public Form1()
{
InitializeComponent()
se = new Sunisoft.IrisSkin.SkinEngine()
se.SkinAllForm = true // 这句话是用来设置整个系统下所有窗体都采用这个皮肤
}
private void Form1_Load(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
se.SkinFile = "skin/SteelBlack.ssk" // 选择皮肤
}
private void button2_Click(object sender, EventArgs e)
{
se.SkinFile = "skin/MSN.ssk" // 选择皮肤
}
private void button3_Click(object sender, EventArgs e)
{
se.SkinFile = "skin/MP10.ssk"
Form2 f = new Form2()
f.Show()
}
}
说明: "skin/SteelBlack.ssk" , 这是一个路径,是.ssk文件存放的路径-Form reactive skin
(系统自动生成,下载前可以参看下载内容)
下载文件列表
IrisSkin2.dll
窗体换肤.txt