AutoWikiBrowser.MainForm.SkipPageReasonAlreadyProvided C# (CSharp) Method

SkipPageReasonAlreadyProvided() private method

private SkipPageReasonAlreadyProvided ( ) : void
return void
        private void SkipPageReasonAlreadyProvided()
        {
            try
            {
                TheSession.Editor.Reset();
                // reset timer.
                NumberOfIgnoredEdits++;
                StopDelayedAutoSaveTimer();
                NudgeTimer.Stop();
                txtEdit.Text = "";

                // https://en.wikipedia.org/wiki/Wikipedia_talk:AutoWikiBrowser/Bugs/Archive_15#Endless_cycle_of_loading_and_skipping
                bool successfullyremoved = listMaker.Remove(TheArticle);

                SameArticleNudges = 0;

                if (!successfullyremoved)
                {
                    TheArticle = null;
                    MessageBox.Show("AWB failed to automatically remove the page from the list while skipping the page. Please remove it manually.", "Page removal from list failed", MessageBoxButtons.OK,
                                    MessageBoxIcon.Exclamation);
                    Stop();
                }
                else
                {
                    if (loggingEnabled)
                        logControl.AddLog(true, TheArticle.LogListener);
                    TheArticle = null;
                    Retries = 0;
                    Start();
                }
            }
            catch (Exception ex)
            {
                ErrorHandler.HandleException(ex);
            }
        }
MainForm