Ejemplo n.º 1
0
        private void analysisAllTToolStripMenuItem_Click(object sender, EventArgs e)
        {
            MdiChildForAnalysisAll frmChildForAnalysisAll = MdiChildForAnalysisAll.GetForm();

            frmChildForAnalysisAll.MdiParent   = this;
            frmChildForAnalysisAll.WindowState = FormWindowState.Maximized;
            frmChildForAnalysisAll.Show();
        }
 /// <summary>
 /// to get a singlelegton child form.
 /// </summary>
 /// <returns>return the form</returns>
 public static MdiChildForAnalysisAll GetForm()
 {
     if (_frmForAnalysisAll == null)
     {
         _frmForAnalysisAll = new MdiChildForAnalysisAll();
     }
     return(_frmForAnalysisAll);
 }
 private void Dispose()
 {
     Console.WriteLine("For for analysis all Dispose!");
     _frmForAnalysisAll = null;
 }
 private void MdiChildForAnalysisAll_FormClosing(Object sender, FormClosingEventArgs e)
 {
     _frmForAnalysisAll.Close();
     _frmForAnalysisAll = null;
 }