C# Class FunctionForm.Connection.FrmConnectionMgr

ファイルを表示 Open project: magicdict/MongoCola

Public Properties

Property Type Description
ModifyConn MongoConnectionConfig
OldConnectionName string

Public Methods

Method Description
FrmConnectionMgr ( ) : System

初始化(新建)

FrmConnectionMgr ( string connectionName ) : System

初始化(修改)

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method 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 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

FrmConnectionMgr() public method

初始化(新建)
public FrmConnectionMgr ( ) : System
return System

FrmConnectionMgr() public method

初始化(修改)
public FrmConnectionMgr ( string connectionName ) : System
connectionName string
return System

Property Details

ModifyConn public_oe property

连接配置
public MongoConnectionConfig ModifyConn
return MongoConnectionConfig

OldConnectionName public_oe property

修改模式中,原来的连接
public string OldConnectionName
return string