public void SetConfig(Webb.Reports.DataProvider.DBSourceConfig config) { _DbSourceConfig.ApplyConfig(config); string strDatabasePath = _DbSourceConfig.DBFilePath; if (strDatabasePath == null || strDatabasePath == string.Empty) { VictoryPathManager victoryPathManager = new VictoryPathManager(config.WebbDBType); strDatabasePath = victoryPathManager.GetVictoryDatabasePath(); } this.C_SelectedFile.Text = strDatabasePath; this.SetGamesAndEdlsView(); }