• 大小: 0.10M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2024-05-03
  • 语言: C#
  • 标签: 程序  高仿  C#  QQ  截屏  

资源简介

在校期间做的玩意 , 2009年的代码了

资源截图

代码片段和文件信息

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

namespace Screenshot
{
    partial class AboutBox1 : Form
    {
        public AboutBox1()
        {
            InitializeComponent();
            this.Text = String.Format(“关于 {0}“ Assemblytitle);
            this.labelProductName.Text = AssemblyProduct;
            this.labelVersion.Text = String.Format(“版本 {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 AssemblyCompany
        {
            get

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       3422  2020-04-29 16:28  Screenshot\Screenshot\AboutBox1.cs

     文件      10480  2020-04-29 16:28  Screenshot\Screenshot\AboutBox1.Designer.cs

     文件      49723  2020-04-29 16:28  Screenshot\Screenshot\AboutBox1.resx

     文件       3262  2020-04-29 16:28  Screenshot\Screenshot\cut.ico

     文件       2491  2020-04-29 16:28  Screenshot\Screenshot\head.JPG

     文件       2482  2020-04-29 16:28  Screenshot\Screenshot\Mainfrm.cs

     文件       8088  2020-04-29 16:28  Screenshot\Screenshot\Mainfrm.Designer.cs

     文件      15837  2020-04-29 16:28  Screenshot\Screenshot\Mainfrm.resx

     文件        473  2020-04-29 16:28  Screenshot\Screenshot\Program.cs

     文件       1464  2020-04-29 16:28  Screenshot\Screenshot\Properties\AssemblyInfo.cs

     文件       2844  2020-04-29 16:28  Screenshot\Screenshot\Properties\Resources.Designer.cs

     文件       5817  2020-04-29 16:28  Screenshot\Screenshot\Properties\Resources.resx

     文件       3776  2020-04-29 16:28  Screenshot\Screenshot\Screenshot.csproj

     文件        377  2020-04-29 16:28  Screenshot\Screenshot\ShotPane.cs

     文件       1871  2020-04-29 16:28  Screenshot\Screenshot\ShotPane.Designer.cs

     文件       5814  2020-04-29 16:28  Screenshot\Screenshot\ShotPane.resx

     文件       1419  2020-04-29 16:28  Screenshot\Screenshot.sln

     文件      78336  2020-04-29 16:28  Screenshot\Screenshot.suo

     文件       3632  2020-04-29 16:28  Screenshot\ScreenShotTools\ColorLabel.cs

     文件       8893  2020-04-29 16:28  Screenshot\ScreenShotTools\ColorSelector.cs

     文件      17959  2020-04-29 16:28  Screenshot\ScreenShotTools\ColorSelector.Designer.cs

     文件       5814  2020-04-29 16:28  Screenshot\ScreenShotTools\ColorSelector.resx

     文件       2673  2020-04-29 16:28  Screenshot\ScreenShotTools\ColorView.cs

     文件        763  2020-04-29 16:28  Screenshot\ScreenShotTools\Drawstyle.cs

     文件        746  2020-04-29 16:28  Screenshot\ScreenShotTools\DrawToolsDockstyle.cs

     文件        825  2020-04-29 16:28  Screenshot\ScreenShotTools\Gripstyle.cs

     文件       4311  2020-04-29 16:28  Screenshot\ScreenShotTools\NoteLabel.cs

     文件       1362  2020-04-29 16:28  Screenshot\ScreenShotTools\Properties\AssemblyInfo.cs

     文件       5581  2020-04-29 16:28  Screenshot\ScreenShotTools\Properties\Resources.Designer.cs

     文件       8604  2020-04-29 16:28  Screenshot\ScreenShotTools\Properties\Resources.resx

............此处省略33个文件信息

评论

共有 条评论