public static OpenLocalStorage ( string basePath, |
||
basePath | string | |
worker | ||
return |
private void loadDataWorker_DoWork(object sender, DoWorkEventArgs e) { var worker = sender as BackgroundWorker; cascHandler = Settings.Default.OnlineMode ? CASCHandler.OpenOnlineStorage(worker) : CASCHandler.OpenLocalStorage(Settings.Default.WowPath, worker); root = LoadListFile(cascHandler, Path.Combine(Application.StartupPath, "listfile.txt"), worker); e.Result = CASCHandler.FileNames.Count; }