C# Class MongoGUIView.CtlDataView

Inheritance: MongoGUIView.MultiTabControl
显示文件 Open project: magicdict/MongoCola

Public Properties

Property Type Description
CustomtoolStrip System.Windows.Forms.ToolStrip
DataShower List
IsNeedRefresh bool
mDataViewInfo DataViewInfo

Protected Properties

Property Type Description
ViewtoolStrip ToolStrip
contextMenuStripMain ContextMenuStrip
lstData ListView
tabDataShower TabControl
tabTableView TabPage
tabTextView TabPage
tabTreeView TabPage
toolStripContainer1 ToolStripContainer
trvData CtlTreeViewColumns
txtData TextBox

Private Properties

Property Type Description
Clear void
CloseStripButton_Click void
CollapseAll_Click void
ExpandAll_Click void
FirstPage_Click void
GotoStripButton_Click void
HelpStripButton_Click void
InitControlsEnable void
InitControlsVisiableAndEvent void
InitializeComponent void
LastPage_Click void
NextPage_Click void
PrePage_Click void
RefreshStripButton_Click void
ReloadData void
SetDataNav void
cmbRecPerPage_SelectedIndexChanged void
ctlDataView_Load void

Public Methods

Method Description
CtlDataView ( ) : Common.System

初始化

CtlDataView ( DataViewInfo dataViewInfo ) : Common.System

初始化

RefreshGui ( ) : void

Refresh Data

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
Clear ( ) : void

清除所有数据

CloseStripButton_Click ( object sender, EventArgs e ) : void

关闭本Tab

CollapseAll_Click ( object sender, EventArgs e ) : void

折叠所有

ExpandAll_Click ( object sender, EventArgs e ) : void

展开所有

FirstPage_Click ( object sender, EventArgs e ) : void

第一页

GotoStripButton_Click ( object sender, EventArgs e ) : void

指定起始位置

HelpStripButton_Click ( object sender, EventArgs e ) : void

帮助

InitControlsEnable ( ) : void

初始化控件状态

InitControlsVisiableAndEvent ( ) : void

将部分的按钮和右键菜单有效化

InitializeComponent ( ) : void

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

LastPage_Click ( object sender, EventArgs e ) : void

最后页

NextPage_Click ( object sender, EventArgs e ) : void

下一页

PrePage_Click ( object sender, EventArgs e ) : void

前一页

RefreshStripButton_Click ( object sender, EventArgs e ) : void
ReloadData ( ) : void

重新加载数据

SetDataNav ( ) : void

设置导航可用性

cmbRecPerPage_SelectedIndexChanged ( object sender, EventArgs e ) : void

换页操作

ctlDataView_Load ( object sender, EventArgs e ) : void

加载数据集控件

Method Details

CtlDataView() public method

初始化
public CtlDataView ( ) : Common.System
return Common.System

CtlDataView() public method

初始化
public CtlDataView ( DataViewInfo dataViewInfo ) : Common.System
dataViewInfo MongoUtility.Aggregation.DataViewInfo
return Common.System

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

RefreshGui() public method

Refresh Data
public RefreshGui ( ) : void
return void

Property Details

CustomtoolStrip public_oe property

public ToolStrip,System.Windows.Forms CustomtoolStrip
return System.Windows.Forms.ToolStrip

DataShower public_oe property

Control for show Data
public List DataShower
return List

IsNeedRefresh public_oe property

Is Need Refresh after the element is modify
public bool IsNeedRefresh
return bool

ViewtoolStrip protected_oe property

protected ToolStrip ViewtoolStrip
return ToolStrip

contextMenuStripMain protected_oe property

protected ContextMenuStrip contextMenuStripMain
return ContextMenuStrip

lstData protected_oe property

protected ListView lstData
return ListView

mDataViewInfo public_oe property

DataView信息
public DataViewInfo mDataViewInfo
return DataViewInfo

tabDataShower protected_oe property

protected TabControl tabDataShower
return TabControl

tabTableView protected_oe property

protected TabPage tabTableView
return TabPage

tabTextView protected_oe property

protected TabPage tabTextView
return TabPage

tabTreeView protected_oe property

protected TabPage tabTreeView
return TabPage

toolStripContainer1 protected_oe property

protected ToolStripContainer toolStripContainer1
return ToolStripContainer

trvData protected_oe property

protected CtlTreeViewColumns trvData
return CtlTreeViewColumns

txtData protected_oe property

protected TextBox txtData
return TextBox