private void MakeListPlugin() { Thread.CurrentThread.Name = "ListMaker (" + providerToRun.GetType().Name + ": " + UserInputTextBox.Text + ")"; StartProgressBar(); try { Add(providerToRun.MakeList(strSource)); } catch (ThreadAbortException) { } catch (Exception ex) { ErrorHandler.ListMakerText = UserInputTextBox.Text; ErrorHandler.Handle(ex); ErrorHandler.ListMakerText = ""; } finally { if (FilterNonMainAuto) { FilterNonMainArticles(); } if (FilterDuplicates) { RemoveListDuplicates(); } StopProgressBar(); } }
private void MakeListPlugin() { Thread.CurrentThread.Name = "ListMaker (" + providerToRun.GetType().Name + ": " + UserInputTextBox.Text + ")"; StartProgressBar(); try { Add(providerToRun.MakeList(strSource)); } catch (ThreadAbortException) { } //catch (PageDoesNotExistException ex) //{ // MessageBox.Show(ex.Message, "Page does not exist", MessageBoxButtons.OK, MessageBoxIcon.Error); //} catch (Exception ex) { ErrorHandler.ListMakerText = UserInputTextBox.Text; ErrorHandler.Handle(ex); ErrorHandler.ListMakerText = ""; } finally { if (FilterNonMainAuto) { FilterNonMainArticles(); } if (FilterDuplicates) { removeListDuplicates(); } StopProgressBar(); } }
private void MakeTheListThreaded() { Thread.CurrentThread.Name = "ListMaker (" + _providerToRun.GetType().Name + ": " + UserInputTextBox.Text + ")"; MakeTheList(); }