public static void statisticsForm()
 {
     if (_StatisticsForm == null || _StatisticsForm.IsDisposed)
     {
         _StatisticsForm = new StatisticsForm();
         _StatisticsForm.Show();
     }
 }
        private void btnGameStats_Click(object sender, EventArgs e)
        {
            this.Hide();

            StatisticsForm form = new StatisticsForm();

            form.Closed += (s, args) => this.Close();
            form.Show();
        }
 private void ShowStatisticsForm()
 {
     if (statisticsForm != null)
     {
         statisticsForm.Activate();
     }
     else
     {
         statisticsForm = new StatisticsForm(controller);
         statisticsForm.Show();
         statisticsForm.FormClosed += OnStatisticsFormClosed;
     }
 }
 private void statsButton_Click(object sender, EventArgs e)
 {
     if (mStatsForm == null)
     {
         mStatsForm             = new StatisticsForm(mPlugin.Core, mPlugin.Statistics);
         mStatsForm.FormClosed += new FormClosedEventHandler(mStatsForm_FormClosed);
         mStatsForm.Show(this);
     }
     else
     {
         mStatsForm.Close();
     }
 }
Exemple #5
0
        private void menuItemStatistics_Click(object sender, EventArgs e)
        {
            StatisticsForm sf = new StatisticsForm(appSettings, workMode);

            sf.Show();
        }
Exemple #6
0
 internal void Show()
 {
     sf.Show();
 }
Exemple #7
0
 public StatisticsPresenter(LobbyPresenter prevPresenter)
 {
     _prevPresenter = prevPresenter;
     sf             = new StatisticsForm(this);
     sf.Show();
 }
Exemple #8
0
 private void buttonGetStatics_Click(object sender, EventArgs e)
 {
     m_StatisticsForm.Show();
 }
        private void buttonStatisticsShow_Click(object sender, EventArgs e)
        {
            StatisticsForm statisticsForm = new StatisticsForm(staffRepository);

            statisticsForm.Show();
        }
Exemple #10
0
        private void BtnViewStatistics_Click(object sender, EventArgs e)
        {
            var form = new StatisticsForm(currentUser);

            form.Show();
        }
 private void InitializationLog()
 {
     RefreshLog();
     form = new StatisticsForm(logs);
     form.Show();
 }