Exemple #1
0
 //private SARSYS mysarsys;
 /// <summary>
 /// 将默认的构造函数私有化
 /// 实现单例模式
 /// </summary>
 /// <returns></returns>
 public static simpara createform()
 {
     if ((defsimpara == null) || (defsimpara.IsDisposed == true))
     {
         defsimpara = new simpara();
     }
     return defsimpara;
 }
Exemple #2
0
 private void 仿真参数设置ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     simp = simpara.createform();
     simp.MdiParent = this;
     simp.Show();
     simp.Focus();
 }