void events_ShowDualSessionStatsPanel(MainForm form, IDualSessionStatistic statistic, Competitor[] tabsToShow)
 {
     if (form == base.AssociatedForm)
     {
         ShowDualSessionStatsPanel(statistic, tabsToShow);
     }
 }
Esempio n. 2
0
 public void OnShowDualSessionStatsPanel(MainForm form, IDualSessionStatistic statistic, Competitor[] tabsToShow)
 {
     if (ShowDualSessionStatsPanel != null)
     {
         ShowDualSessionStatsPanel(form, statistic, tabsToShow);
     }
 }
        private void ShowDualSessionStatsPanel(IDualSessionStatistic Statistic, Competitor[] tabsToShow)
        {
            DualSessionStatsPanel panel = new DualSessionStatsPanel(base.AssociatedForm, Statistic, tabsToShow);

            AddContentPanel(panel);
            panel.AddToolStrip();
            FinishedAdding();
        }
Esempio n. 4
0
 public DualSessionStatsPanel(MainForm parentForm, IDualSessionStatistic Statistic, Competitor[] TabsToShow)
     : base(parentForm, Statistic, TabsToShow)
 {
     FirstSessionChanged  += DualSessionStatsPanel_FirstSessionChanged;
     SecondSessionChanged += DualSessionStatsPanel_SecondSessionChanged;
 }