IrisSkin4(73套皮肤),有xp\office\IOS\MSN等等。
path = System.Environment.CurrentDirectory "\\skins\\";
skin.SkinFile = path "Emerald.ssk";
skin.Active = true;
ParseDirectory(path, "*.ssk");
files = CreatePathList(); //生成文件名数组
if (files == null)
{
throw new Exception(String.Concat("No file found in ", path));
}
for (int i = 0; i < files.Length;i )
{
listBox1.Items.Add(files[i]);
}
private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
{
skin.SkinFile = listBox1.SelectedItems[0].ToString();
skin.Active = true;
}
评论