private void backgroundWorker_ParsingOptions_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { BgWorkerCommon.RunWorkerCompleted( e, "Options", ref ParsedData.OptionRecords, this, label_ParsedOption, progressBar_ParsingOption, EnableDisableOption, OptionFilePaths.Length); }
private void backgroundWorker_ParsingFutures_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { BgWorkerCommon.RunWorkerCompleted( e, "Futures", ref ParsedData.FutureRecords, this, label_ParsedFuture, progressBar_ParsingFuture, EnableDisableFuture, FutureFilePaths.Length); }
private void backgroundWorker_ParsingOptions_DoWork(object sender, DoWorkEventArgs e) { var worker = (BackgroundWorker)sender; BgWorkerCommon.Parse <EOD_Option_CSV, EOD_Option>( worker, OptionFilePaths, "Options", FilterRowAndGetProductName, FilterRows, out ParsedData.OptionProductName, out ParsedData.OptionRecords); e.Result = worker.CancellationPending; }
private void backgroundWorker_ParsingFutures_DoWork(object sender, DoWorkEventArgs e) { var worker = (BackgroundWorker)sender; BgWorkerCommon.Parse <EOD_Future_CSV, EOD_Future>( worker, FutureFilePaths, "Futures", FilterRowAndGetProductName, FilterRows, out ParsedData.FutureProductName, out ParsedData.FutureRecords); e.Result = worker.CancellationPending; }
private void backgroundWorker_ParsingOptions_ProgressChanged(object sender, ProgressChangedEventArgs e) { BgWorkerCommon.ProgressChanged(e, OptionFilePaths, label_ParsedOption, progressBar_ParsingOption); }
private void backgroundWorker_ParsingFutures_ProgressChanged(object sender, ProgressChangedEventArgs e) { BgWorkerCommon.ProgressChanged(e, FutureFilePaths, label_ParsedFuture, progressBar_ParsingFuture); }