コード例 #1
0
        public void FormTrainOpen()
        {
            if (FrmTrain == null)
            {
                FrmTrain              = new FormTraining();
                FrmTrain.FormClosing += FrmTrainClose;
            }

            FrmTrain.Show();
            FrmTrain.BringToFront();
            //_frmTrain.WindowState = FormWindowState.Maximized;
        }
コード例 #2
0
 private void FrmTrainClose(object sender, System.Windows.Forms.FormClosingEventArgs e)
 {
     FrmTrain = null;
 }