Beispiel #1
0
        private void analysisWindowSizeWToolStripMenuItem_Click(object sender, EventArgs e)
        {
            MdiChildForAnalysis frmChildForAnalysis = MdiChildForAnalysis.GetForm();

            frmChildForAnalysis.MdiParent   = this;
            frmChildForAnalysis.WindowState = FormWindowState.Maximized;
            frmChildForAnalysis.Show();
        }
Beispiel #2
0
 public static MdiChildForAnalysis GetForm()
 {
     if (_frmForAnalysis == null)
     {
         _frmForAnalysis = new MdiChildForAnalysis();
     }
     return(_frmForAnalysis);
 }
Beispiel #3
0
 private void Dispose()
 {
     Dispose(true);
     _frmForAnalysis = null;
 }
Beispiel #4
0
 private void MdiChidForAnalysis_FormClosing(Object sender, FormClosingEventArgs e)
 {
     _frmForAnalysis.Close();
     _frmForAnalysis = null;
 }