资源简介

超市会员管理系统源码 数据库课程设计:加入会员的基本信息,包括:成为会员的基本条件、优惠政策、优惠时间等。会员的基本信息,包括姓名、性别、年龄、工作单位、联系方式等。会员购物信息:购买物品编号、物品名称、所属种类,数量,价格等。会员返利信息&def包括会员积分的情况,享受优惠的等级等。对货物流量及消费人群进行统计输出 未完成功能: 1.商品交易 2.权限管理 3.各个需要统计项目

资源截图

代码片段和文件信息

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

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-08-03 15:47  MarketMember\
     文件        7886  2010-06-14 16:10  MarketMember\1.ico
     文件        4753  2010-06-14 16:27  MarketMember\AboutBox.cs
     文件       10552  2010-06-14 16:25  MarketMember\AboutBox.Designer.cs
     文件      297274  2010-06-14 16:25  MarketMember\AboutBox.resx
     文件         442  2010-07-02 15:13  MarketMember\app.config
     目录           0  2010-07-02 14:50  MarketMember\bin\
     目录           0  2010-07-02 14:50  MarketMember\bin\Debug\
     目录           0  2010-06-13 08:36  MarketMember\bin\Debug\backup\
     文件     2341376  2010-06-06 08:02  MarketMember\bin\Debug\backup\2010-06-06075749.bak
     文件     1801728  2010-06-06 08:06  MarketMember\bin\Debug\backup\2010-06-06080143.bak
     文件     1794560  2010-06-13 08:36  MarketMember\bin\Debug\backup\2010-06-13083655.bak
     文件      946176  2010-06-13 08:31  MarketMember\bin\Debug\MarketMember.exe
     文件         437  2010-06-11 19:58  MarketMember\bin\Debug\MarketMember.exe.config
     文件      284160  2010-06-13 08:31  MarketMember\bin\Debug\MarketMember.pdb
     目录           0  2010-06-14 16:29  MarketMember\bin\Debug\MarketMember.publish\
     目录           0  2010-06-14 16:29  MarketMember\bin\Debug\MarketMember.publish\MarketMember_1_0_0_0\
     文件        7886  2010-06-14 16:10  MarketMember\bin\Debug\MarketMember.publish\MarketMember_1_0_0_0\1.ico.deploy
     文件         437  2010-06-14 16:11  MarketMember\bin\Debug\MarketMember.publish\MarketMember_1_0_0_0\MarketMember.exe.config.deploy
     文件      946176  2010-06-13 08:31  MarketMember\bin\Debug\MarketMember.publish\MarketMember_1_0_0_0\MarketMember.exe.deploy
     目录           0  2010-06-14 16:29  MarketMember\bin\Debug\MarketMember.publish\MarketMember_1_0_0_0\Resources\
     文件       31359  2010-06-01 12:49  MarketMember\bin\Debug\MarketMember.publish\MarketMember_1_0_0_0\Resources\bk.jpg.deploy
     文件        5632  2005-12-08 14:51  MarketMember\bin\Debug\MarketMember.vshost.exe
     文件         437  2010-06-11 19:58  MarketMember\bin\Debug\MarketMember.vshost.exe.config
     文件       10752  2010-06-10 13:14  MarketMember\bin\Debug\readme.doc
     目录           0  2010-06-14 16:30  MarketMember\bin\Release\
     目录           0  2010-06-14 16:31  MarketMember\bin\Release\backup\
     文件        1487  2010-07-02 15:26  MarketMember\bin\Release\MarketMember.application
     文件      815104  2010-07-02 15:26  MarketMember\bin\Release\MarketMember.exe
     文件         442  2010-07-02 15:13  MarketMember\bin\Release\MarketMember.exe.config
     文件        3358  2010-07-02 15:26  MarketMember\bin\Release\MarketMember.exe.manifest
............此处省略211个文件信息

评论

共有 条评论