Пример #1
0
        private void productionStatusToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ProductionStatus frm = ProductionStatus.GetSingleton();

            frm.MdiParent = this;
            frm.Show();
            frm.Activate();
        }
Пример #2
0
 public static ProductionStatus GetSingleton()
 {
     if (frm == null || frm.IsDisposed)
     {
         frm = new ProductionStatus();
     }
     return(frm);
 }