C# Class Xnlab.SQLMon.Controls.OutlookGrid.OutlookGrid

Inheritance: System.Windows.Forms.DataGridView
Show file Open project: unruledboy/SQLMonitor

Private Properties

Property Type Description
FillGrid void
InitializeComponent void
SetGroupCollapse void
SetupColumns void

Public Methods

Method Description
BindData ( object dataSource, string dataMember ) : void
ClearGroups ( ) : void
CollapseAll ( ) : void
ExpandAll ( ) : void
OutlookGrid ( ) : System
Sort ( System.Windows.Forms.DataGridViewColumn dataGridViewColumn, ListSortDirection direction ) : void
Sort ( IComparer comparer ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnCellBeginEdit ( System.Windows.Forms.DataGridViewCellCancelEventArgs e ) : void
OnCellDoubleClick ( System.Windows.Forms.DataGridViewCellEventArgs e ) : void
OnCellMouseDown ( System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void

Private Methods

Method Description
FillGrid ( IOutlookGridGroup groupingStyle ) : void

the fill grid method fills the grid with the data from the DataSourceManager It takes the grouping style into account, if it is set.

InitializeComponent ( ) : void

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

SetGroupCollapse ( bool collapsed ) : void
SetupColumns ( ) : void

Method Details

BindData() public method

public BindData ( object dataSource, string dataMember ) : void
dataSource object
dataMember string
return void

ClearGroups() public method

public ClearGroups ( ) : void
return void

CollapseAll() public method

public CollapseAll ( ) : void
return void

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

ExpandAll() public method

public ExpandAll ( ) : void
return void

OnCellBeginEdit() protected method

protected OnCellBeginEdit ( System.Windows.Forms.DataGridViewCellCancelEventArgs e ) : void
e System.Windows.Forms.DataGridViewCellCancelEventArgs
return void

OnCellDoubleClick() protected method

protected OnCellDoubleClick ( System.Windows.Forms.DataGridViewCellEventArgs e ) : void
e System.Windows.Forms.DataGridViewCellEventArgs
return void

OnCellMouseDown() protected method

protected OnCellMouseDown ( System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void
e System.Windows.Forms.DataGridViewCellMouseEventArgs
return void

OutlookGrid() public method

public OutlookGrid ( ) : System
return System

Sort() public method

public Sort ( System.Windows.Forms.DataGridViewColumn dataGridViewColumn, ListSortDirection direction ) : void
dataGridViewColumn System.Windows.Forms.DataGridViewColumn
direction ListSortDirection
return void

Sort() public method

public Sort ( IComparer comparer ) : void
comparer IComparer
return void