private void btnAdvanced_Click(object sender, EventArgs e) { try { using (var dialog = new Dialog.ConnectionAdvancedDialog()) { dialog.ConnData = (Connections.ConnectionData)_bs.Current; dialog.ShowDialog(); } } catch (Exception ex) { Utils.HandleError(ex); } }