C# Class demo.winform.SQLForm

Afficher le fichier Open project: SuperMap/iClient-DotNet-Example Class Usage Examples

Méthodes publiques

Méthode Description
SQLForm ( string mapUrl, string mapName, MapControl mapControl ) : 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.

InitializeSQL ( ) : void

初始化窗体

QueryFieldsCount ( List list ) : List

将需要查询的字段添加到 list数组中

SQLForm_Load ( object sender, EventArgs e ) : void
btnCancel_Click ( object sender, EventArgs e ) : void

关闭窗体,取消操作

btnClear_Click ( object sender, EventArgs e ) : void

清除查询语句

btnQuery_Click ( object sender, EventArgs e ) : void

进行SQL查询

lstFields_ItemSelectionChanged ( object sender, ListViewItemSelectionChangedEventArgs e ) : void

选择需要查询的字段

treeDataSet_NodeMouseClick ( object sender, TreeNodeMouseClickEventArgs e ) : void

选择查询字段

txtQueryCondition_MouseClick ( object sender, MouseEventArgs e ) : void
txtQueryCondition_TextChanged ( object sender, EventArgs e ) : void

当条件语句改变时,查询语句动态改变

txtQueryField_MouseClick ( object sender, MouseEventArgs e ) : void
txtQueryField_TextChanged ( object sender, EventArgs e ) : void

当查询字段改变时,查询语句动态改变

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

SQLForm() public méthode

public SQLForm ( string mapUrl, string mapName, MapControl mapControl ) : System
mapUrl string
mapName string
mapControl MapControl
Résultat System