Пример #1
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();
 }