C# Class SqlIndexConsole.MainForm

Inheritance: System.Windows.Forms.Form
Exibir arquivo Open project: brianpursley/sql-index-console

Public Methods

Method Description
MainForm ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ApplyFilter ( ) : void
AutoResizeColumns ( ) : void
AutoSizeColumn ( Graphics g, System.Windows.Forms.DataGridViewColumn c, IEnumerable values, int minWidth, int maxWidth ) : void
CheckIndexes ( ) : void
DataConnectionDialog_FormClosing ( object sender, FormClosingEventArgs e ) : void
Disconnect ( ) : void
EnableDisable ( ) : void
ExportGridToCsv ( ) : void
ExportGridToExcel ( ) : void
ExportGridToTxt ( ) : void
ExportToCsvToolbarToolStripMenuItem_Click ( object sender, EventArgs e ) : void
ExportToExcelToolbarToolStripMenuItem_Click ( object sender, EventArgs e ) : void
FilterToolStripDropDownButton_DropDownItemClicked ( object sender, ToolStripItemClickedEventArgs e ) : void
FindDataGridViewRowForIndex ( IndexViewModel ivm ) : System.Windows.Forms.DataGridViewRow
FixIndexes ( ) : void
FixIndexesButton_Click ( object sender, EventArgs e ) : void
GetActions ( ) : IEnumerable
GetSelectedRowIndexViewModels ( ) : IEnumerable
GetSelectedRowIndexes ( ) : IEnumerable
IndexDataGridView_CellClick ( object sender, DataGridViewCellEventArgs e ) : void
IndexDataGridView_CellFormatting ( object sender, DataGridViewCellFormattingEventArgs e ) : void
IndexDataGridView_CellPainting ( object sender, DataGridViewCellPaintingEventArgs e ) : void
IndexDataGridView_DataError ( object sender, DataGridViewDataErrorEventArgs e ) : void
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
MainForm_Shown ( object sender, EventArgs e ) : void
QueryFragmentationBackgroupWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
QueryFragmentationBackgroupWorker_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void
QueryFragmentationBackgroupWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
ResetStatus ( ) : void
SaveLastConnectionString ( string connectionString ) : void
SelectAllRecommendations ( ) : void
SelectDataSourceToolStripButton_Click ( object sender, EventArgs e ) : void
SelectDatabase ( ) : void
SelectFilter ( ToolStripMenuItem selected ) : void
SelectRebuild ( IEnumerable ivms ) : void
SelectReorganize ( IEnumerable ivms ) : void
SelectRows ( IEnumerable rowIndexes ) : void
SetIndexDataGridViewDataSource ( IList dataSource ) : void
SetMaxAutoWidth ( DataGridViewColumn column, int maxAutoWidth ) : void
SetStatus ( string text ) : void
ShowOptionsDialog ( ) : void
ShowRecommendationsLink_LinkClicked ( object sender, LinkLabelLinkClickedEventArgs e ) : void
Unselect ( IEnumerable ivms ) : void
UnselectAll ( ) : void
UpdateCaption ( ) : void
UpdateIndexCount ( ) : void
UpdateObjectCount ( ) : void
UpdateRebuildCount ( ) : void
UpdateReorganizeCount ( ) : void
WriteCsv ( string filename ) : void
aboutToolStripMenuItem_Click ( object sender, EventArgs e ) : void
disconnectToolStripMenuItem_Click ( object sender, EventArgs e ) : void
exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void
exportToCsvToolStripMenuItem_Click ( object sender, EventArgs e ) : void
exportToExcelToolStripMenuItem_Click ( object sender, EventArgs e ) : void
exportToTxtToolStripMenuItem_Click ( object sender, EventArgs e ) : void
exportToTxtToolbarToolStripMenuItem_Click ( object sender, EventArgs e ) : void
fixIndexesToolStripMenuItem_Click ( object sender, EventArgs e ) : void
optionsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
refreshToolStripMenuItem_Click ( object sender, EventArgs e ) : void
resetToRecommendationsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
selectDataSourceToolStripMenuItem_Click ( object sender, EventArgs e ) : void
selectRebuildContextToolStripMenuItem_Click ( object sender, EventArgs e ) : void
selectReorganizeContextToolStripMenuItem_Click ( object sender, EventArgs e ) : void
unselectAllToolStripMenuItem_Click ( object sender, EventArgs e ) : void
unselectContextToolStripMenuItem_Click ( object sender, EventArgs e ) : void

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