public bool ShowEditConnectionDialog(IDbFactory factory, DatabaseConnectionSettings settings, out DatabaseConnectionSettings newSettings) { SqliteDatabaseConnectionSettingsDialog dlg = new SqliteDatabaseConnectionSettingsDialog(factory, settings); bool result = RunDialog(dlg); if (result) { newSettings = dlg.ConnectionSettings; } else { newSettings = null; } return(result); }
public bool ShowEditConnectionDialog (IDbFactory factory, DatabaseConnectionSettings settings, out DatabaseConnectionSettings newSettings) { SqliteDatabaseConnectionSettingsDialog dlg = new SqliteDatabaseConnectionSettingsDialog(factory, settings); bool result = RunDialog (dlg); if (result) newSettings = dlg.ConnectionSettings; else newSettings = null; return result;