• 大小: 8.09MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-08
  • 语言: C#
  • 标签: c#  

资源简介

用C#写的餐饮管理系统,对数据的增删改····················

资源截图

代码片段和文件信息

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

namespace canyin
{
    partial class AboutBox1 : Form
    {
        public AboutBox1()
        {
            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
   

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

     文件       3446  2011-01-13 11:53  canyin\canyin\AboutBox1.cs

     文件      10339  2011-01-13 11:53  canyin\canyin\AboutBox1.Designer.cs

     文件       5817  2011-01-13 11:53  canyin\canyin\AboutBox1.resx

     文件     489472  2011-03-11 18:03  canyin\canyin\bin\Debug\canyin.exe

     文件     251392  2011-03-11 18:03  canyin\canyin\bin\Debug\canyin.pdb

     文件      14328  2011-03-14 14:16  canyin\canyin\bin\Debug\canyin.vshost.exe

     文件        490  2007-07-21 01:33  canyin\canyin\bin\Debug\canyin.vshost.exe.manifest

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

     文件      33729  2006-03-22 10:24  canyin\canyin\bin\Debug\skin\Carlmness\calmness.gif

     文件      20139  2006-03-22 10:16  canyin\canyin\bin\Debug\skin\Carlmness\Calmness.ssk

     文件      20271  2006-03-22 10:16  canyin\canyin\bin\Debug\skin\Carlmness\CalmnessColor1.ssk

     文件      20208  2006-03-22 10:15  canyin\canyin\bin\Debug\skin\Carlmness\CalmnessColor2.ssk

     文件      40436  2006-03-22 10:25  canyin\canyin\bin\Debug\skin\Carlmness\calmness_color1.gif

     文件      50601  2006-03-22 10:26  canyin\canyin\bin\Debug\skin\Carlmness\calmness_color2.gif

     文件      18221  2006-03-22 12:22  canyin\canyin\bin\Debug\skin\Deep\deepcyan.gif

     文件       5032  2006-04-04 15:20  canyin\canyin\bin\Debug\skin\Deep\DeepCyan.ssk

     文件      17920  2006-03-22 12:23  canyin\canyin\bin\Debug\skin\Deep\deepgreen.gif

     文件       5037  2006-03-29 12:12  canyin\canyin\bin\Debug\skin\Deep\DeepGreen.ssk

     文件      20292  2006-03-22 12:24  canyin\canyin\bin\Debug\skin\Deep\deeporange.gif

     文件       4908  2006-03-29 12:12  canyin\canyin\bin\Debug\skin\Deep\DeepOrange.ssk

     文件      50635  2006-03-21 14:11  canyin\canyin\bin\Debug\skin\Diamond\diamondblue.gif

     文件      16021  2006-03-22 12:25  canyin\canyin\bin\Debug\skin\Diamond\DiamondBlue.ssk

     文件      45088  2006-03-21 14:12  canyin\canyin\bin\Debug\skin\Diamond\diamondgreen.gif

     文件      16669  2006-03-22 12:26  canyin\canyin\bin\Debug\skin\Diamond\DiamondGreen.ssk

     文件      33870  2006-03-22 11:38  canyin\canyin\bin\Debug\skin\Eighteen\eighteen.gif

     文件      10439  2006-03-22 11:32  canyin\canyin\bin\Debug\skin\Eighteen\Eighteen.ssk

     文件      10382  2006-03-22 06:05  canyin\canyin\bin\Debug\skin\Eighteen\EighteenColor1.ssk

     文件       9746  2006-03-22 06:06  canyin\canyin\bin\Debug\skin\Eighteen\EighteenColor2.ssk

     文件      34043  2006-03-22 10:28  canyin\canyin\bin\Debug\skin\Eighteen\eighteen_color1.gif

     文件      34065  2006-03-22 10:29  canyin\canyin\bin\Debug\skin\Eighteen\eighteen_color2.gif

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

评论

共有 条评论