C# Class XPathVisualizer.AboutBox

Show file Open project: zippy1981/XPathVisualizer

Public Methods

Method Description
AboutBox ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AboutBox_Load ( object sender, EventArgs e ) : void

things to do when form is loaded

AboutBox_Paint ( object sender, PaintEventArgs e ) : void

things to do when form is FIRST painted

AssemblyAttribs ( Assembly a ) : NameValueCollection

returns string name / string value pair of all attribs for specified assembly

note that Assembly* values are pulled from AssemblyInfo file in project folder Trademark = AssemblyTrademark string Debuggable = true GUID = 7FDF68D5-8C6F-44C9-B391-117B5AFB5467 CLSCompliant = true Product = AssemblyProduct string Copyright = AssemblyCopyright string Company = AssemblyCompany string Description = AssemblyDescription string Title = AssemblyTitle string

AssemblyBuildDate ( Assembly a, bool ForceFileDate ) : DateTime

returns DateTime this Assembly was last built. Will attempt to calculate from build number, if possible. If not, the actual LastWriteTime on the assembly file will be returned.

AssemblyInfoListView_ColumnClick ( object sender, ColumnClickEventArgs e ) : void

sort the assembly list by column

AssemblyInfoListView_DoubleClick ( object sender, EventArgs e ) : void

if an assembly is double-clicked, go to the detail page for that assembly

AssemblyLastWriteTime ( Assembly a ) : DateTime

exception-safe retrieval of LastWriteTime for this assembly.

AssemblyNamesComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void

if a new assembly is selected from the combo box, show details for that assembly

DetailsButton_Click ( object sender, EventArgs e ) : void

expand about dialog to show additional advanced details

EntryAssemblyAttrib ( string strName ) : string

retrieves a cached value from the entry assembly attribute lookup collection

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

MatchAssemblyByName ( string AssemblyName ) : Assembly

matches assembly by Assembly.GetName.Name; returns nothing if no match

MoreRichTextBox_LinkClicked ( object sender, LinkClickedEventArgs e ) : void

launch any http:// or mailto: links clicked in the body of the rich text box

Populate ( ListView lvw, string Key, string Value ) : void

populate a listview with the specified key and value strings

PopulateAppInfo ( ) : void

populates the Application Information listview

PopulateAssemblies ( ) : void

populate Assembly Information listview with ALL assemblies

PopulateAssemblyDetails ( Assembly a, ListView lvw ) : void

populate details for a single assembly

PopulateAssemblySummary ( Assembly a ) : void

populate Assembly Information listview with summary view for a specific assembly

PopulateLabels ( ) : void

Populate all the form labels with tokenized text

RegistryHklmValue ( string KeyName, string SubKeyRef ) : string

reads an HKLM Windows Registry key value

ReplaceTokens ( string s ) : string

perform assemblyinfo to string replacements on labels

ShowSysInfo ( ) : void

launch the MSInfo "system information" application (works on XP, 2003, and Vista)

SysInfoButton_Click ( object sender, EventArgs e ) : void

for detailed system info, launch the external Microsoft system info app

TabPanelDetails_SelectedIndexChanged ( object sender, EventArgs e ) : void

Method Details

AboutBox() public method

public AboutBox ( ) : System
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void