资源简介

C#做的一个图片浏览器(源码)可以研究一下。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;

namespace ISeeYouPicture
{
    partial class AboutBox : Form
    {
        public AboutBox()
        {
            InitializeComponent();
            //this.Text = String.Format(“关于 {0} {0}“ Assemblytitle);
            //this.labelProductName.Text = AssemblyProduct;
            //this.labelVersion.Text = String.Format(“版本 {0} {0}“ AssemblyVersion);
            //this.labelCopyright.Text = AssemblyCopyright;
            //this.labelCompanyName.Text = AssemblyCompany;
            //this.textBoxDescription.Text = AssemblyDescription;
        }

        #region 程序集属性访问器

        public string Assemblytitle
        {
            get
            {
                object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblytitleAttribute) false);
                if (attributes.Length > 0)
                {
                    AssemblytitleAttribute titleAttribute = (AssemblytitleAttribute)attributes[0];
                    if (titleAttribute.title != ““)
                    {
                        return titleAttribute.title;
                    }
                }
                return System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().Codebase);
            }
        }

        public string AssemblyVersion
        {
            get
            {
                return Assembly.GetExecutingAssembly().GetName().Version.ToString();
            }
        }

        public string AssemblyDescription
        {
            get
            {
                object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescriptionAttribute) false);
                if (attributes.Length == 0)
                {
                    return ““;
                }
                return ((AssemblyDescriptionAttribute)attributes[0]).Description;
            }
        }

        public string AssemblyProduct
        {
            get
            {
                object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAttribute) false);
                if (attributes.Length == 0)
                {
                    return ““;
                }
                return ((AssemblyProductAttribute)attributes[0]).Product;
            }
        }

        public string AssemblyCopyright
        {
            get
            {
                object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute) false);
                if (attributes.Length == 0)
                {
                    return ““;
                }
                return ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
            }
        }

        public string As

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-04-19 02:42  ISeeYouPicture1.1\
     目录           0  2011-04-19 02:42  ISeeYouPicture1.1\ISeeYouPicture\
     文件        1398  2011-04-09 17:01  ISeeYouPicture1.1\ISeeYouPicture.sln
     文件       50176  2011-04-19 01:09  ISeeYouPicture1.1\ISeeYouPicture.suo
     文件        3464  2011-04-19 01:09  ISeeYouPicture1.1\ISeeYouPicture\AboutBox.cs
     文件       10297  2011-04-19 01:09  ISeeYouPicture1.1\ISeeYouPicture\AboutBox.Designer.cs
     文件        5817  2011-04-19 01:09  ISeeYouPicture1.1\ISeeYouPicture\AboutBox.resx
     目录           0  2011-04-19 02:42  ISeeYouPicture1.1\ISeeYouPicture\bin\
     目录           0  2011-04-19 02:42  ISeeYouPicture1.1\ISeeYouPicture\bin\Debug\
     文件      516096  2006-08-18 11:50  ISeeYouPicture1.1\ISeeYouPicture\bin\Debug\IrisSkin2.dll
     文件      107520  2011-04-11 23:31  ISeeYouPicture1.1\ISeeYouPicture\bin\Debug\ISeeYouPicture.exe
     文件       54784  2011-04-11 23:31  ISeeYouPicture1.1\ISeeYouPicture\bin\Debug\ISeeYouPicture.pdb
     文件       14328  2011-04-11 23:31  ISeeYouPicture1.1\ISeeYouPicture\bin\Debug\ISeeYouPicture.vshost.exe
     文件       16292  2006-03-22 05:55  ISeeYouPicture1.1\ISeeYouPicture\bin\Debug\MSN.ssk
     目录           0  2011-04-19 02:42  ISeeYouPicture1.1\ISeeYouPicture\bin\Release\
     文件      516096  2006-08-18 11:50  ISeeYouPicture1.1\ISeeYouPicture\bin\Release\IrisSkin2.dll
     文件     1543680  2011-04-19 01:43  ISeeYouPicture1.1\ISeeYouPicture\bin\Release\ISeeYouPicture.exe
     文件       99840  2011-04-19 01:43  ISeeYouPicture1.1\ISeeYouPicture\bin\Release\ISeeYouPicture.pdb
     文件       14328  2011-04-19 01:43  ISeeYouPicture1.1\ISeeYouPicture\bin\Release\ISeeYouPicture.vshost.exe
     文件         490  2009-06-11 05:14  ISeeYouPicture1.1\ISeeYouPicture\bin\Release\ISeeYouPicture.vshost.exe.manifest
     文件       16292  2006-03-22 05:55  ISeeYouPicture1.1\ISeeYouPicture\bin\Release\MSN.ssk
     文件         663  2011-04-11 12:46  ISeeYouPicture1.1\ISeeYouPicture\BufferListView.cs
     文件         786  2011-04-13 02:57  ISeeYouPicture1.1\ISeeYouPicture\BufferPictureBox.cs
     文件        1131  2011-04-12 23:09  ISeeYouPicture1.1\ISeeYouPicture\BufferPictureBox.Designer.cs
     文件        5777  2011-04-19 00:28  ISeeYouPicture1.1\ISeeYouPicture\FilmForm.cs
     文件       11283  2011-04-19 00:27  ISeeYouPicture1.1\ISeeYouPicture\FilmForm.Designer.cs
     文件        6817  2011-04-19 00:27  ISeeYouPicture1.1\ISeeYouPicture\FilmForm.resx
     文件        4260  2011-04-18 17:31  ISeeYouPicture1.1\ISeeYouPicture\ImageProcess.cs
     文件        2802  2011-04-18 21:51  ISeeYouPicture1.1\ISeeYouPicture\ImageThread.cs
     文件        6949  2011-04-19 01:06  ISeeYouPicture1.1\ISeeYouPicture\ISeeYouPicture.csproj
     文件       14020  2011-04-19 01:43  ISeeYouPicture1.1\ISeeYouPicture\MainForm.cs
............此处省略162个文件信息

评论

共有 条评论