示例#1
0
 public void PublishSuccess(string url)
 {
     _browser.Stop();
     _currentArticleDraft.State      = ArticleDraftState.Published;
     _currentArticleDraft.SitePostId =
         WordPressHelper.RegSitePostId.Match(url).Groups["SitePostId"].Value;
     //UpdateArticleDraft(_currentArticleDraft);
     _timer.Change(100, Timeout.Infinite);
     ResetReqHandler();
     NotifyStatus("发布成功:" + _currentArticleDraft.Title);
 }