AboutBox Class

About box: used to provide information about version/build-time and links for local help and project homepage

Inheritance Hierarchy

Namespace: DBaddinAssembly: DBaddin in (DBaddin.dll)

Syntax

public sealed class AboutBox : Form

The AboutBox type exposes the following members.

Constructors

ClassSummary
public constructorAboutBox()

Methods

NameSummary
private methodAboutBox1_Load(Object, EventArgs)
set up About box
private methodBackgroundWorker1_DoWork(Object, DoWorkEventArgs)
checks for updates of DB-Addin, asks for download and downloads them
private methodBackgroundWorker1_RunWorkerCompleted(Object, RunWorkerCompletedEventArgs)
asynchronously called when BackgroundWorker1_DoWork is finished
private methodCheckForUpdates_Click(Object, EventArgs)
check for updates button, starts updating demand (without searching, this was searched on opening form and is in curRevision)
protected methodDispose(Boolean)
private methodEventLevels_SelectedValueChanged(Object, EventArgs)
select event levels: filter events by selected level (from now on)
private methodfixLegacyFunc_Click(Object, EventArgs)
fix legacy functions button, calls repair function
private methodInitializeComponent()
private methodLabelCompanyName_Click(Object, EventArgs)
Click on Project homepage: activate hyperlink in browser
private methodLabelProductName_Click(Object, EventArgs)
Click on Local help: activate hyperlink in browser
private methodOKButton_Click(Object, EventArgs)
Close About box
private methodValidationCallbackHandler()
required for ServerCertificateValidationCallback of ServicePointManager in getting updates for DB-Addin

Fields

NameDescription
private constantAddinName
Addin name abstracted for easier reusing code
private fieldcomponents
private fieldcurRevision
curRevision contains checked version of zip file of next higher revision
public fielddisableAddinAfterwards
flag for disabling addin after closing (set on DisableAddin_Click)
private fielddontChangeEventLevels
when setting EventLevels List item at load, prevent event from being fired with this
private fielddoUpdate
only display result of check (false) or actually perform the update and download new version (true)
private fieldfoundARevision
if any version was found
private fieldlocalUpdateFolder
local update folder from settings
private fieldlocalUpdateMessage
local update message from settings
public fieldquitExcelAfterwards
flag for quitting excel after closing (set on CheckForUpdates_Click)
private fieldresponse
global response for reusing between version search and getting update package
private constantupdateFilenameZip
package filename abstracted for easier reusing code
private fieldupdatesDownloadFolder
updates download folder from settings
private fieldupdatesMajorVersion
updates major version from settings
private fieldupdatesUrlBase
updates url base from settings
private fieldurlFile
url of file for reusing between version search and getting update package