C# Class net.datacowboy.DocumentationGeneratorApplication.MainForm

Afficher le fichier Open project: jeremykdev/SqlServerDatabaseDocumentationGenerator

Méthodes publiques

Méthode Description
MainForm ( ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode 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 méthode

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

MainForm() public méthode

public MainForm ( ) : System
Résultat System