C# Class net.datacowboy.DocumentationGeneratorApplication.MainForm

Mostra file Open project: jeremykdev/SqlServerDatabaseDocumentationGenerator

Public Methods

Method Description
MainForm ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

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

MainForm_Load ( object sender, EventArgs e ) : void
btnDocFileBrowse_Click ( object sender, EventArgs e ) : void
btnEditConnection_Click ( object sender, EventArgs e ) : void
btnFindObjectsWithoutDescription_Click ( object sender, EventArgs e ) : void
btnGenerateDoc_Click ( object sender, EventArgs e ) : void
clearErrorMessages ( ) : void
createDocumentGeneratorConfigurationFroUi ( ) : DocumentGeneratorConfiguration
getConnectionStringFromAppConfig ( ) : string

Get database connection string from app.config file Connection string named "default" in app.config

getDatabaseMetaDataAysnc ( string connectionString ) : Task
lockUi ( ) : void

Lock UI controls

Call before call long running logic

showConnectionStringDialog ( ) : void
showObjectsWithoutDescriptionDialog ( Database dbMetadata ) : void
unLockUi ( ) : void

Unlock UI controls

Call when locking UI no longer needed

validateFormInput ( bool requireDocumentationFile = true ) : bool

Form input validation

Method Details

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

MainForm() public method

public MainForm ( ) : System
return System