C# 클래스 demo.winform.SQLForm

파일 보기 프로젝트 열기: SuperMap/iClient-DotNet-Example 1 사용 예제들

공개 메소드들

메소드 설명
SQLForm ( string mapUrl, string mapName, MapControl mapControl ) : System

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
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

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

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

SQLForm() 공개 메소드

public SQLForm ( string mapUrl, string mapName, MapControl mapControl ) : System
mapUrl string
mapName string
mapControl MapControl
리턴 System