private void HandleConnectionAddRequest() { ConnectionForm form = new ConnectionForm(); DialogResult result = form.ShowDialog(this); if (result == DialogResult.OK) { this.AddConnection(form.Connection); } }