C# Class TSqlFlex.FlexMainWindow

Datei anzeigen Open project: nycdotnet/TSqlFlex Class Usage Examples

Public Methods

Method Description
FindFocusedControl ( Control control ) : Control
FlexMainWindow ( Logging instantiatedLogger ) : System
SetConnection ( SqlConnectionStringBuilder theConnectionStringBuilder ) : void

Protected Methods

Method Description
ProcessCmdKey ( Message &msg, Keys keyData ) : bool

Private Methods

Method Description
CopyThisTextOrShowErrorMessageBox ( string theTextToCopy ) : void
InvokeFireAndForgetOnFormThread ( Action behavior ) : void
RenderCSharp ( SqlRunParameters srp ) : void
RenderCsv ( SqlRunParameters srp ) : void
RenderInsertStatements ( SqlRunParameters srp ) : void
RenderXmlSpreadsheet ( SqlRunParameters srp ) : void
SetConnectionText ( ) : void
TryToSaveCSVs ( SqlRunParameters srp ) : void
TryToSaveSpreadsheet ( SqlRunParameters srp ) : void
btnAbout_Click ( object sender, EventArgs e ) : void
btnCopyToClipboard_Click ( object sender, EventArgs e ) : void
btnCopyToNewWindow_Click ( object sender, EventArgs e ) : void
btnExcel_Click ( object sender, EventArgs e ) : void
btnTxt_Click ( object sender, EventArgs e ) : void
cmdCancel_Click ( object sender, EventArgs e ) : void
cmdRunNRollback_Click ( object sender, EventArgs e ) : void
currentConnectionText ( ) : string
drawExceptions ( SqlRunParameters srp, string header = "" ) : void
getFormattedElapsedSqlStopwatchTime ( bool includeMilliseconds ) : string
getSqlToRun ( ) : string
queryTimer_Tick ( object sender, EventArgs e ) : void
queryWorker_DoWork ( object sender, System e ) : void
queryWorker_ProgressChanged ( object sender, System e ) : void
queryWorker_RunWorkerCompleted ( object sender, System e ) : void
setProgressText ( bool isComplete ) : void
setUIState ( bool queryIsRunning ) : void
txtSqlInput_DragDrop ( object sender, DragEventArgs e ) : void
txtSqlInput_DragEnter ( object sender, DragEventArgs e ) : void

Method Details

FindFocusedControl() public static method

public static FindFocusedControl ( Control control ) : Control
control Control
return Control

FlexMainWindow() public method

public FlexMainWindow ( Logging instantiatedLogger ) : System
instantiatedLogger Logging
return System

ProcessCmdKey() protected method

protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg Message
keyData Keys
return bool

SetConnection() public method

public SetConnection ( SqlConnectionStringBuilder theConnectionStringBuilder ) : void
theConnectionStringBuilder SqlConnectionStringBuilder
return void