資源簡介
短路計算程序,電力計算,c#版本,導納矩陣

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Drawing;
using?System.Windows.Forms;
using?System.Reflection;
namespace?try10
{
????partial?class?AboutBox1?:?Form
????{
????????public?AboutBox1()
????????{
????????????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]).Product;
?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1406??2007-12-15?13:29??try10\try10\1.ico
?????文件???????4864??2007-12-15?14:15??try10\try10\AboutBox1.cs
?????文件??????10536??2007-12-15?14:16??try10\try10\AboutBox1.Designer.cs
?????文件??????49720??2007-12-15?14:16??try10\try10\AboutBox1.resx
?????文件?????????74??2007-12-14?23:44??try10\try10\app.config
?????文件????????375??2007-12-16?21:51??try10\try10\bin\Debug\imp.data
?????文件???????2091??2007-12-16?22:27??try10\try10\bin\Debug\project\ex1.xm
?????文件???????2095??2007-12-16?22:06??try10\try10\bin\Debug\project\project13294.xm
?????文件???????1080??2007-12-16?22:20??try10\try10\bin\Debug\project\project13681.xm
?????文件???????2811??2007-12-18?09:41??try10\try10\bin\Debug\project\project16271.xm
?????文件????????785??2007-12-16?22:17??try10\try10\bin\Debug\project\project17004.xm
?????文件???????2028??2007-12-15?00:07??try10\try10\bin\Debug\project\例題1.xm
?????文件?????196608??2007-12-18?09:39??try10\try10\bin\Debug\Qmm.exe
?????文件?????????74??2007-12-14?23:44??try10\try10\bin\Debug\Qmm.exe.config
?????文件??????93696??2007-12-18?09:39??try10\try10\bin\Debug\Qmm.pdb
?????文件???????5632??2005-12-08?14:51??try10\try10\bin\Debug\Qmm.vshost.exe
?????文件?????????74??2007-12-14?23:44??try10\try10\bin\Debug\Qmm.vshost.exe.config
?????文件?????????74??2007-12-14?23:44??try10\try10\bin\Debug\quanercao-ceee-hust.vshost.exe.config
?????文件????????484??2007-12-13?22:54??try10\try10\bin\Debug\try2.xm
?????文件???????8333??2007-12-18?09:39??try10\try10\CodeFile3.cs
?????文件???????9318??2007-12-16?22:29??try10\try10\Form1.cs
?????文件???????5506??2007-12-16?19:31??try10\try10\Form1.designer.cs
?????文件???????6019??2007-12-16?19:31??try10\try10\Form1.resx
?????文件???????9238??2007-12-16?21:48??try10\try10\Form2.cs
?????文件??????10377??2007-12-16?21:28??try10\try10\Form2.Designer.cs
?????文件???????9040??2007-12-16?21:28??try10\try10\Form2.resx
?????文件???????8504??2007-12-16?21:10??try10\try10\Form3.cs
?????文件???????3366??2007-12-16?21:31??try10\try10\Form3.Designer.cs
?????文件???????5814??2007-12-15?15:47??try10\try10\Form3.resx
?????文件???????1938??2007-12-15?16:47??try10\try10\Form4.cs
............此處省略45個文件信息
- 上一篇:ASP.NET圖書館管理系統ASP.NET
- 下一篇:金稅接口調用
評論
共有 條評論