• 大小: 1.38M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2024-06-18
  • 语言: C#
  • 标签: C#  皮肤  

资源简介

73款皮肤含调用程序

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace WinFormSkin
{
    public partial class Form1 : Form
    {
        Sunisoft.IrisSkin.SkinEngine s;
        public Form1()
        {
            InitializeComponent();
            s = new Sunisoft.IrisSkin.SkinEngine();
        }

        private void Form1_Load(object sender EventArgs e)
        {
            this.listBox1.DataSource = new DirectoryInfo(“Skins“).GetFiles();
            this.listBox1.DisplayMember = “Name“;
        }

        private void listBox1_SelectedIndexChanged(object sender EventArgs e)
        {
            if (this.listBox1.SelectedItem != null)
                s.SkinFile = (this.listBox1.SelectedItem as FileInfo).FullName;
        }

        private void button1_Click(object sender EventArgs e)
        {
            MessageBox.Show(“Test“);
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-05-08 14:39  WinFormSkin\
     目录           0  2014-05-08 14:39  WinFormSkin\WinFormSkin\
     目录           0  2014-05-08 14:39  WinFormSkin\WinFormSkin\bin\
     目录           0  2014-08-05 00:00  WinFormSkin\WinFormSkin\bin\Debug\
     文件      557056  2010-09-12 13:09  WinFormSkin\WinFormSkin\bin\Debug\IrisSkin4.dll
     目录           0  2014-05-08 14:39  WinFormSkin\WinFormSkin\bin\Debug\Skins\
     文件       20139  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\Calmness.ssk
     文件       20271  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\CalmnessColor1.ssk
     文件       20208  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\CalmnessColor2.ssk
     文件        5032  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\DeepCyan.ssk
     文件        5037  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\DeepGreen.ssk
     文件        4908  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\DeepOrange.ssk
     文件       16021  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\DiamondBlue.ssk
     文件       16669  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\DiamondGreen.ssk
     文件       16211  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\DiamondOlive.ssk
     文件       16031  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\DiamondPurple.ssk
     文件       15998  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\DiamondRed.ssk
     文件       10439  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\Eighteen.ssk
     文件       10382  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\EighteenColor1.ssk
     文件        9746  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\EighteenColor2.ssk
     文件       12591  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\Emerald.ssk
     文件       12261  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\EmeraldColor1.ssk
     文件       12360  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\EmeraldColor2.ssk
     文件       11422  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\EmeraldColor3.ssk
     文件       18859  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\GlassBrown.ssk
     文件       16097  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\GlassGreen.ssk
     文件       17010  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\GlassOrange.ssk
     文件       18988  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\Longhorn.ssk
     文件       15156  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\MacOS.ssk
     文件       12477  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\Midsummer.ssk
     文件       12542  2010-04-04 21:03  WinFormSkin\WinFormSkin\bin\Debug\Skins\MidsummerColor1.ssk
............此处省略78个文件信息

评论

共有 条评论