private void EstablishNewConnection() { frmConnectionSelection selector = new frmConnectionSelection(); selector.SetConnectionGroupInfos(this._model.GetAvailableConnections()); if (selector.ShowDialog() == DialogResult.OK) { ConnectionGroupInfo connectionGroup = selector.SelectedConnectionGroupInfo.ExtractSelectedGroup(); ConnectionTabControl targetTab = GetTargetTab(connectionGroup.Name + "{" + connectionGroup.TemplateFileName + "}"); targetTab.OpenConnection(connectionGroup); } }