コード例 #1
0
 void tnt_FormClosed(object sender, FormClosedEventArgs e)
 {
     tnt = null;
 }
コード例 #2
0
        private void takeNewTrainingToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (tnt == null)
            {
                tnt = new TakeNewTraining(n);
                tnt.MdiParent = this;
                tnt.FormClosed += tnt_FormClosed;
                tnt.Show();

            }
            else
            {
                tnt.Activate();
            }
        }