• 大小: 7.36MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-30
  • 语言: C#
  • 标签: 超市  会员  C#  数据库  

资源简介

超市会员管理系统-数据库课程设计,用C#和Sql Server2005实现

资源截图

代码片段和文件信息

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

namespace MarketMember
{
    partial class AboutBox : Form
    {
        public AboutBox()
        {
            InitializeComponent();

            //  初始化 AboutBox 以显示程序集信息中包含的产品信息。
            //  也可以通过以下方法更改应用程序的程序集信息设置:
            //  - 项目->属性->应用程序->程序集信息
            //  - AssemblyInfo.cs
            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
            {
                // 获取此程序集上的所有 title 属性
                object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblytitleAttribute) false);
                // 如果至少有一个 title 属性
                if (attributes.Length > 0)
                {
                    // 请选择第一个属性
                    AssemblytitleAttribute titleAttribute = (AssemblytitleAttribute)attributes[0];
                    // 如果该属性为非空字符串,则将其返回
                    if (titleAttribute.title != ““)
                        return titleAttribute.title;
                }
                // 如果没有 title 属性,或者 title 属性为一个空字符串,则返回 .exe 的名称
                return System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().Codebase);
            }
        }

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

        public string AssemblyDescription
        {
            get
            {
                // 获取此程序集的所有 Description 属性
                object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescriptionAttribute) false);
                // 如果 Description 属性不存在,则返回一个空字符串
                if (attributes.Length == 0)
                    return ““;
                // 如果有 Description 属性,则返回该属性的值
                return ((AssemblyDescriptionAttribute)attributes[0]).Description;
            }
        }

        public string AssemblyProduct
        {
            get
            {
                // 获取此程序集上的所有 Product 属性
                object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAttribute) false);
                // 如果 Product 属性不存在,则返回一个空字符串
                if (attributes.Length == 0)
                    return ““;
                // 如果有 Product 属性,则返回该属性的值
                return ((AssemblyProductAttribute)attributes[0]).Produc

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

     文件     946176  2010-06-13 08:31  MarketMember\MarketMember\bin\Debug\MarketMember.exe

     文件     284160  2010-06-13 08:31  MarketMember\MarketMember\bin\Debug\MarketMember.pdb

     文件       5632  2005-12-08 14:51  MarketMember\MarketMember\bin\Debug\MarketMember.vshost.exe

     文件        359  2010-06-02 06:54  MarketMember\MarketMember\ChildForm\F_AddMember.cs

     文件       1641  2010-06-02 06:54  MarketMember\MarketMember\ChildForm\F_AddMember.Designer.cs

     文件       5814  2010-06-02 06:54  MarketMember\MarketMember\ChildForm\F_AddMember.resx

     文件        363  2010-06-02 06:54  MarketMember\MarketMember\ChildForm\F_AlterMember.cs

     文件       1524  2010-06-02 06:54  MarketMember\MarketMember\ChildForm\F_AlterMember.Designer.cs

     文件       5814  2010-06-02 06:54  MarketMember\MarketMember\ChildForm\F_AlterMember.resx

     文件        359  2010-06-02 06:54  MarketMember\MarketMember\ChildForm\F_DelMember.cs

     文件       1516  2010-06-02 06:54  MarketMember\MarketMember\ChildForm\F_DelMember.Designer.cs

     文件       5814  2010-06-02 06:54  MarketMember\MarketMember\ChildForm\F_DelMember.resx

     文件       2528  2010-06-14 16:08  MarketMember\MarketMember\ChildForm\F_SetMemberCard.cs

     文件       6071  2010-06-14 16:08  MarketMember\MarketMember\ChildForm\F_SetMemberCard.Designer.cs

     文件      17946  2010-06-14 16:08  MarketMember\MarketMember\ChildForm\F_SetMemberCard.resx

     文件       4127  2010-06-14 07:48  MarketMember\MarketMember\DataClass\CommonClass.cs

     文件       2340  2010-06-14 16:05  MarketMember\MarketMember\F_Login.cs

     文件       7863  2010-06-14 16:05  MarketMember\MarketMember\F_Login.Designer.cs

     文件      19529  2010-06-14 16:05  MarketMember\MarketMember\F_Login.resx

     文件       6404  2010-06-14 15:54  MarketMember\MarketMember\F_Main.cs

     文件      46526  2010-06-14 15:54  MarketMember\MarketMember\F_Main.Designer.cs

     文件     146825  2010-06-14 15:54  MarketMember\MarketMember\F_Main.resx

     文件        898  2010-01-04 16:44  MarketMember\MarketMember\image\add.png

     文件      31359  2010-06-01 08:39  MarketMember\MarketMember\image\bk.jpg

     文件        258  2010-01-04 17:14  MarketMember\MarketMember\image\delete.gif

     文件       2531  2010-01-04 17:48  MarketMember\MarketMember\image\edit.png

     文件       1439  2010-01-04 16:22  MarketMember\MarketMember\image\exit.png

     文件       7886  2010-06-01 12:48  MarketMember\MarketMember\image\google-chrome-logo.ico

     文件       7886  2010-06-01 07:45  MarketMember\MarketMember\image\loginico.ico

     文件       7886  2010-06-01 13:28  MarketMember\MarketMember\image\PersonalInfo.ico

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

评论

共有 条评论