AboutBox Class
About box: used to provide information about version/build-time and links for local help and project homepage
Inheritance Hierarchy
- System.Windows.Forms.Form
- DBaddin.AboutBox
Namespace: DBaddinAssembly: DBaddin in (DBaddin.dll)
Syntax
public sealed class AboutBox : Form
The AboutBox type exposes the following members.
Constructors
Class | Summary | |
---|---|---|
![]() | AboutBox() |
Methods
Name | Summary | |
---|---|---|
![]() | AboutBox1_Load(Object, EventArgs) | set up About box |
![]() | BackgroundWorker1_DoWork(Object, DoWorkEventArgs) | checks for updates of DB-Addin, asks for download and downloads them |
![]() | BackgroundWorker1_RunWorkerCompleted(Object, RunWorkerCompletedEventArgs) | asynchronously called when BackgroundWorker1_DoWork is finished |
![]() | CheckForUpdates_Click(Object, EventArgs) | check for updates button, starts updating demand (without searching, this was searched on opening form and is in curRevision) |
![]() | Dispose(Boolean) | |
![]() | EventLevels_SelectedValueChanged(Object, EventArgs) | select event levels: filter events by selected level (from now on) |
![]() | fixLegacyFunc_Click(Object, EventArgs) | fix legacy functions button, calls repair function |
![]() | InitializeComponent() | |
![]() | LabelCompanyName_Click(Object, EventArgs) | Click on Project homepage: activate hyperlink in browser |
![]() | LabelProductName_Click(Object, EventArgs) | Click on Local help: activate hyperlink in browser |
![]() | OKButton_Click(Object, EventArgs) | Close About box |
![]() | ValidationCallbackHandler() | required for ServerCertificateValidationCallback of ServicePointManager in getting updates for DB-Addin |
Fields
Name | Description | |
---|---|---|
![]() | AddinName | Addin name abstracted for easier reusing code |
![]() | components | |
![]() | curRevision | curRevision contains checked version of zip file of next higher revision |
![]() | disableAddinAfterwards | flag for disabling addin after closing (set on DisableAddin_Click) |
![]() | dontChangeEventLevels | when setting EventLevels List item at load, prevent event from being fired with this |
![]() | doUpdate | only display result of check (false) or actually perform the update and download new version (true) |
![]() | foundARevision | if any version was found |
![]() | localUpdateFolder | local update folder from settings |
![]() | localUpdateMessage | local update message from settings |
![]() | quitExcelAfterwards | flag for quitting excel after closing (set on CheckForUpdates_Click) |
![]() | response | global response for reusing between version search and getting update package |
![]() | updateFilenameZip | package filename abstracted for easier reusing code |
![]() | updatesDownloadFolder | updates download folder from settings |
![]() | updatesMajorVersion | updates major version from settings |
![]() | updatesUrlBase | updates url base from settings |
![]() | urlFile | url of file for reusing between version search and getting update package |