public RequestController(MainWindow win) { window = win; currentEvent = new ITEventsList(); attachedMedia = new MediaContent(); window.CategoriesBox.SelectionChanged += ChangeCategory; window.RequestedEvents.SelectionChanged += OnSelectedEvent; window.CategoriesBox.ItemsSource = currentEvent.categories; _eventWindow = new EventInfoWindow(); Func<string, List<string>> parsingRssdelegate = ParseRSS; }
public RequestController(MainWindow win) { window = win; currentEvent = new ITEvent(); attachedMedia = new Media(); window.InfoButton.Click += InfoButton_Click; window.SourceButton.Click += SourceButton_Click; window.PurchaseButton.Click += PurchaseButton_Click; window.CategoriesBox.ItemsSource = currentEvent.categories; Func<string, List<TextBlock>> tbL = ParseRSS; }