コード例 #1
0
 public void RemoveFeed(Feed feed)
 {
     FeedController.RemoveDataFromList(feed);
     HandleXMLSaving();
 }
コード例 #2
0
 public void CreateWorkers(Feed FeedToBeUpdated)
 {
     UpdateIntervalWorker         = new BackgroundWorker();
     UpdateIntervalWorker.DoWork += new DoWorkEventHandler(UpdateIntervalWorker_DoWork);
     UpdateIntervalWorker.RunWorkerAsync(FeedToBeUpdated);
 }
コード例 #3
0
        private void UpdateIntervalWorker_DoWork(object sender, DoWorkEventArgs e)
        {
            Feed FeedToBeUpdated = (Feed)e.Argument;

            ThreadWaitingForUpdateInterval(sender as BackgroundWorker, FeedToBeUpdated);
        }
コード例 #4
0
 public void LoadSingleBackgroundWorker(Feed FeedToBeUpdated)
 {
     CreateWorkers(FeedToBeUpdated);
 }