public void RemoveFeed(Feed feed) { FeedController.RemoveDataFromList(feed); HandleXMLSaving(); }
public void CreateWorkers(Feed FeedToBeUpdated) { UpdateIntervalWorker = new BackgroundWorker(); UpdateIntervalWorker.DoWork += new DoWorkEventHandler(UpdateIntervalWorker_DoWork); UpdateIntervalWorker.RunWorkerAsync(FeedToBeUpdated); }
private void UpdateIntervalWorker_DoWork(object sender, DoWorkEventArgs e) { Feed FeedToBeUpdated = (Feed)e.Argument; ThreadWaitingForUpdateInterval(sender as BackgroundWorker, FeedToBeUpdated); }
public void LoadSingleBackgroundWorker(Feed FeedToBeUpdated) { CreateWorkers(FeedToBeUpdated); }