private void btnConnection_Click(object sender, EventArgs e) { if (this._FrmConnection == null || this._FrmConnection.IsDisposed) { this._FrmConnection = new FrmConnection(); } this._FrmConnection.ShowDialog(this); }