void events_ShowPositionFilterStatsPanel(MainForm form, IPositionFilterStatistic statistic, Competitor[] tabsToShow)
 {
     if (form == base.AssociatedForm)
     {
         ShowPositionFilterStatsPanel(statistic, tabsToShow);
     }
 }
Beispiel #2
0
 public void OnShowPositionFilterStatsPanel(MainForm form, IPositionFilterStatistic statistic, Competitor[] tabsToShow)
 {
     if (ShowPositionFilterStatsPanel != null)
     {
         ShowPositionFilterStatsPanel(form, statistic, tabsToShow);
     }
 }
        private void ShowPositionFilterStatsPanel(IPositionFilterStatistic Statistic, Competitor[] tabsToShow)
        {
            PositionFilterStatsPanel panel = new PositionFilterStatsPanel(base.AssociatedForm, Statistic, tabsToShow);

            AddContentPanel(panel);
            panel.AddToolStrip();
            FinishedAdding();
        }
 public PositionFilterStatsPanel(MainForm parentForm, IPositionFilterStatistic Statistic, Competitor[] TabsToShow)
     : base(parentForm, Statistic, TabsToShow)
 {
     PositionFilterChanged    += PositionFilterStatsPanel_PositionFilterChanged;
     FinishStateFilterChanged += PositionFilterStatsPanel_FinishStateFilterChanged;
 }