• 大小: 449KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-01
  • 语言: 其他
  • 标签: 学生管理  

资源简介

针对高校开发的学生管理系统,可在高校里使用,也可作为二次开发模板使用

资源截图

代码片段和文件信息

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

namespace _1001210071xf
{
    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 AssemblyCompany

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

     文件       6861  2011-11-17 16:48  1001210071xf\1001210071xf\1001210071xf.csproj

     文件       3451  2011-11-17 15:32  1001210071xf\1001210071xf\AboutBox.cs

     文件      10492  2011-11-17 15:32  1001210071xf\1001210071xf\AboutBox.Designer.cs

     文件      49723  2011-11-17 15:32  1001210071xf\1001210071xf\AboutBox.resx

     文件      84992  2011-11-17 16:52  1001210071xf\1001210071xf\bin\Debug\1001210071xf.exe

     文件     114176  2011-11-17 16:52  1001210071xf\1001210071xf\bin\Debug\1001210071xf.pdb

     文件      14328  2012-07-08 15:45  1001210071xf\1001210071xf\bin\Debug\1001210071xf.vshost.exe

     文件        490  2009-06-11 05:14  1001210071xf\1001210071xf\bin\Debug\1001210071xf.vshost.exe.manifest

     文件     516096  2006-08-18 11:50  1001210071xf\1001210071xf\bin\Debug\IrisSkin2.dll

    ..A.SHR     46080  2014-05-13 09:49  1001210071xf\1001210071xf\bin\Debug\lpk.dll

     文件       3534  2011-11-16 21:20  1001210071xf\1001210071xf\bin\Debug\pic.jpg

     文件      47607  2006-07-13 23:30  1001210071xf\1001210071xf\bin\Debug\Wave.ssk

     文件       3899  2011-11-11 09:58  1001210071xf\1001210071xf\BJi.cs

     文件      11860  2011-11-11 09:52  1001210071xf\1001210071xf\BJi.Designer.cs

     文件       5814  2011-11-11 09:52  1001210071xf\1001210071xf\BJi.resx

     文件       7720  2011-11-10 16:05  1001210071xf\1001210071xf\DBAccess.cs

     文件       3552  2011-11-17 16:35  1001210071xf\1001210071xf\DLu.cs

     文件       5529  2011-11-17 15:44  1001210071xf\1001210071xf\DLu.Designer.cs

     文件       5814  2011-11-17 15:44  1001210071xf\1001210071xf\DLu.resx

     文件       4258  2011-11-17 16:48  1001210071xf\1001210071xf\Main.cs

     文件      18294  2011-11-17 16:49  1001210071xf\1001210071xf\Main.Designer.cs

     文件       6385  2011-11-17 16:02  1001210071xf\1001210071xf\Main.resx

     文件       7539  2012-07-08 15:45  1001210071xf\1001210071xf\obj\Debug\1001210071xf.csproj.FileListAbsolute.txt

     文件       1423  2011-11-17 16:52  1001210071xf\1001210071xf\obj\Debug\1001210071xf.csproj.GenerateResource.Cache

     文件      84992  2011-11-17 16:52  1001210071xf\1001210071xf\obj\Debug\1001210071xf.exe

     文件     114176  2011-11-17 16:52  1001210071xf\1001210071xf\obj\Debug\1001210071xf.pdb

    ..A.SHR     46080  2014-05-13 09:49  1001210071xf\1001210071xf\obj\Debug\lpk.dll

     文件      10026  2011-11-10 18:53  1001210071xf\1001210071xf\obj\Debug\ResolveAssemblyReference.cache

     文件      29561  2011-11-17 16:48  1001210071xf\1001210071xf\obj\Debug\_1001210071xf.AboutBox.resources

     文件        180  2011-11-17 16:48  1001210071xf\1001210071xf\obj\Debug\_1001210071xf.BJi.resources

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

评论

共有 条评论