示例#1
0
        private void LogControl_LogAdded(bool Skipped, WikiFunctions.Logging.AWBLogListener LogListener)
        {
            int articleID;

            if ((PageList.Count > 0) && (PageList.TryGetValue(LogListener.Text, out articleID)))
            {
                if (Skipped)
                {
                    SkippedPages.Add(articleID.ToString());
                    SkippedReasons.Add(LogListener.SkipReason);
                    SkippedPagesThisSession.Add(articleID.ToString());
                }
                else
                {
                    SavedPages.Add(articleID.ToString());
                    SavedPagesThisSession.Add(articleID.ToString());
                }

                if (EditAndIgnoredPages >= 25)
                {
                    UploadFinishedArticlesToServer();
                }
            }
        }
 public void AddLogItem(bool skipped, WikiFunctions.Logging.AWBLogListener logListener)
 {
 }