Exemplo n.º 1
0
 public static void statisticsForm()
 {
     if (_StatisticsForm == null || _StatisticsForm.IsDisposed)
     {
         _StatisticsForm = new StatisticsForm();
         _StatisticsForm.Show();
     }
 }
Exemplo n.º 2
0
        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;
     }
 }
Exemplo n.º 4
0
 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();
     }
 }
Exemplo n.º 5
0
        private void menuItemStatistics_Click(object sender, EventArgs e)
        {
            StatisticsForm sf = new StatisticsForm(appSettings, workMode);

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

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

            form.Show();
        }
Exemplo n.º 11
0
 private void InitializationLog()
 {
     RefreshLog();
     form = new StatisticsForm(logs);
     form.Show();
 }