C# Class FunctionForm.Connection.FrmConnectionMgr

Afficher le fichier Open project: magicdict/MongoCola

Méthodes publiques

Свойство Type Description
ModifyConn MongoConnectionConfig
OldConnectionName string

Méthodes publiques

Méthode Description
FrmConnectionMgr ( ) : System

初始化(新建)

FrmConnectionMgr ( string connectionName ) : System

初始化(修改)

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
CreateConnection ( ) : bool

新建连接

InitializeComponent ( ) : void

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

cmdAddHost_Click ( object sender, EventArgs e ) : void

添加HostList

cmdAdd_Click ( object sender, EventArgs e ) : void

新建或者修改

cmdRemoveHost_Click ( object sender, EventArgs e ) : void

移除HostList

cmdTest_Click ( object sender, EventArgs e ) : void

测试连接

frmAddConnection_Load ( 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

FrmConnectionMgr() public méthode

初始化(新建)
public FrmConnectionMgr ( ) : System
Résultat System

FrmConnectionMgr() public méthode

初始化(修改)
public FrmConnectionMgr ( string connectionName ) : System
connectionName string
Résultat System

Property Details

ModifyConn public_oe property

连接配置
public MongoConnectionConfig ModifyConn
Résultat MongoConnectionConfig

OldConnectionName public_oe property

修改模式中,原来的连接
public string OldConnectionName
Résultat string