资源简介
短路计算程序,电力计算,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
- 下一篇:金税接口调用
相关资源
- Visual C#.2010从入门到精通配套源程序
- C#实现简单QQ聊天程序
- C#写的计算机性能监控程序
- C#编写的16进制计算器
- C#简单窗体聊天程序
- C#指纹识别系统程序 报告
- C# 五子棋程序 附带编程日记
- C#有界面局域网DES UDP加密通讯程序
- C#实现二叉树基本操作,排序,计算和
- C#编写的后方交会程序
- C#写的键盘和鼠标记录程序(记录你点
- C#开发的OCR识别程序源码
- C#程序实现动态调用DLL的研究
- C# 制作的带记忆功能计算器
- C#更改Windows防火墙设置实例程序
- C#笔试题大全C#面试集合包括了,.ne
- C#冒泡排序动态演示程序(看了就会)
- c#编写的连连看程序
- C#实例程序100例子
- C#设计高精度语音识别程序
- C#串口通信程序(VS2010)(serialPort组
- C#的服务器程序
- c#温度采集上位机程序
- C#6轴机械手控制上位机程序
- C#编写蓝牙通信程序的简单
- C#开发的一个数据显示界面程序(Li
- 桌面六轴机器人
- c#语言实现K短路算法
- 卫星轨道计算
- c# udp通信例程(上位控制程序)
川公网安备 51152502000135号
评论
共有 条评论