示例#1
0
 public static FrmWHin GetSingleton()
 {
     if (frm == null || frm.IsDisposed)
     {
         frm = new FrmWHin();
     }
     return(frm);
 }
示例#2
0
        private void tsmiWHin_Click(object sender, EventArgs e)
        {
            FrmWHin frm = FrmWHin.GetSingleton();

            frm.MdiParent = this;
            frm.Show();
            frm.Activate();
        }