Пример #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);
 }