資源簡(jiǎn)介
wpf 圖片和視頻瀏覽器
wpf 圖片和視頻瀏覽器
wpf 圖片和視頻瀏覽器
wpf 圖片和視頻瀏覽器
wpf 圖片和視頻瀏覽器
wpf 圖片和視頻瀏覽器

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Drawing;
using?System.Linq;
using?System.Reflection;
using?System.Windows.Forms;
namespace?MediaShow
{
????partial?class?AboutMe?:?Form
????{
????????public?AboutMe()
????????{
????????????InitializeComponent();
????????????this.Text?=?String.Format(“關(guān)于?{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?=?String.Format(“{0}“?“this?program?is?mediashow“);//?AssemblyDescription;
????????}
????????#region?程序集屬性訪問(wèn)器
????????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;
????????????}
???
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????3498??2011-04-15?10:56??MediaShow\MediaShow\AboutMe.cs
?????文件??????10540??2011-04-15?10:43??MediaShow\MediaShow\AboutMe.Designer.cs
?????文件??????49677??2011-04-15?10:43??MediaShow\MediaShow\AboutMe.resx
?????文件??????11989??2011-04-14?22:15??MediaShow\MediaShow\App.xaml
?????文件????????305??2011-04-14?11:08??MediaShow\MediaShow\App.xaml.cs
?????文件?????276992??2011-04-22?00:18??MediaShow\MediaShow\bin\Debug\MediaShow.exe
?????文件??????52736??2011-04-22?00:18??MediaShow\MediaShow\bin\Debug\MediaShow.pdb
?????文件??????14328??2011-04-21?23:38??MediaShow\MediaShow\bin\Debug\MediaShow.vshost.exe
?????文件????????490??2009-06-11?05:14??MediaShow\MediaShow\bin\Debug\MediaShow.vshost.exe.manifest
?????文件?????272384??2011-04-21?23:37??MediaShow\MediaShow\bin\Release\MediaShow.exe
?????文件??????48640??2011-04-21?23:37??MediaShow\MediaShow\bin\Release\MediaShow.pdb
?????文件??????14328??2011-04-21?23:27??MediaShow\MediaShow\bin\Release\MediaShow.vshost.exe
?????文件????????490??2009-06-11?05:14??MediaShow\MediaShow\bin\Release\MediaShow.vshost.exe.manifest
?????文件??????26992??2011-04-14?20:24??MediaShow\MediaShow\blue.jpg
?????文件?????133160??2011-04-14?21:41??MediaShow\MediaShow\blue.png
?????文件???????3900??2011-04-14?22:29??MediaShow\MediaShow\Dictionary1.xaml
?????文件???????5328??2011-04-14?22:44??MediaShow\MediaShow\MediaShow.csproj
?????文件???????2537??2011-04-21?23:38??MediaShow\MediaShow\obj\Debug\App.g.cs
?????文件???????1749??2011-04-21?23:38??MediaShow\MediaShow\obj\Debug\MediaShow.csproj.FileListAbsolute.txt
?????文件????????849??2011-04-21?23:38??MediaShow\MediaShow\obj\Debug\MediaShow.csproj.GenerateResource.Cache
?????文件?????276992??2011-04-22?00:18??MediaShow\MediaShow\obj\Debug\MediaShow.exe
?????文件?????226377??2011-04-21?23:38??MediaShow\MediaShow\obj\Debug\MediaShow.g.resources
?????文件??????52736??2011-04-22?00:18??MediaShow\MediaShow\obj\Debug\MediaShow.pdb
?????文件????????180??2011-04-21?23:38??MediaShow\MediaShow\obj\Debug\MediaShow.Properties.Resources.resources
?????文件????????339??2011-04-22?00:18??MediaShow\MediaShow\obj\Debug\MediaShow_MarkupCompile.cache
?????文件???????4608??2011-04-14?16:51??MediaShow\MediaShow\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll
?????文件???????4262??2011-04-21?23:38??MediaShow\MediaShow\obj\Debug\Window1.baml
?????文件???????9587??2011-04-21?23:38??MediaShow\MediaShow\obj\Debug\Window1.g.cs
?????文件???????4903??2011-04-14?22:44??MediaShow\MediaShow\obj\Release\App.baml
?????文件???????2537??2011-04-14?22:44??MediaShow\MediaShow\obj\Release\App.g.cs
............此處省略39個(gè)文件信息
評(píng)論
共有 條評(píng)論