private ConnectionModel getConnectionDetails() { ConnectDialog dialog = new ConnectDialog(); dialog.Owner = this; if (dialog.ShowDialog() == true) { return dialog.ConnectionModel; } else { return null; } }
private ConnectionModel getConnectionDetails() { ConnectDialog dialog = new ConnectDialog(); dialog.Owner = this; if (dialog.ShowDialog() == true) { return(dialog.ConnectionModel); } else { return(null); } }