Beispiel #1
0
        private void feedStatusControl_ResetPolarPlotter(object sender, Controls.FeedIdEventArgs e)
        {
            var feed = _Presenter.GetReceiverFeeds().FirstOrDefault(r => r.UniqueId == e.FeedId);

            if (feed != null)
            {
                OnResetPolarPlot(new EventArgs <IFeed>(feed));
            }
        }
Beispiel #2
0
        private void feedStatusControl_ConfigureFeed(object sender, Controls.FeedIdEventArgs e)
        {
            var feedConfiguration = _Presenter.GetFeedConfigurationObject(e.FeedId);

            if (feedConfiguration != null)
            {
                ShowSettingsConfigurationUI(null, feedConfiguration);
            }
        }
Beispiel #3
0
        private void feedStatusControl_ShowFeedIdStatistics(object sender, Controls.FeedIdEventArgs e)
        {
            var feed = _Presenter.GetReceiverFeeds().FirstOrDefault(r => r.UniqueId == e.FeedId);

            if (feed != null)
            {
                ShowStatisticsView(feed);
            }
        }
 /// <summary>
 /// Raises <see cref="ConfigureFeed"/>.
 /// </summary>
 /// <param name="args"></param>
 public virtual void OnConfigureFeed(FeedIdEventArgs args)
 {
     EventHelper.Raise(ConfigureFeed, this, args);
 }
 /// <summary>
 /// Raises <see cref="ResetPolarPlotter"/>.
 /// </summary>
 /// <param name="args"></param>
 public virtual void OnResetPolarPlotter(FeedIdEventArgs args)
 {
     EventHelper.Raise(ResetPolarPlotter, this, args);
 }
 /// <summary>
 /// Raises <see cref="ShowFeedIdStatistics"/>.
 /// </summary>
 /// <param name="args"></param>
 protected virtual void OnShowFeedIdStatistics(FeedIdEventArgs args)
 {
     EventHelper.Raise(ShowFeedIdStatistics, this, args);
 }
 /// <summary>
 /// Raises <see cref="ReconnectFeedId"/>.
 /// </summary>
 /// <param name="args"></param>
 protected virtual void OnReconnectFeedId(FeedIdEventArgs args)
 {
     EventHelper.Raise(ReconnectFeedId, this, args);
 }