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

            frm.MdiParent = this;
            frm.Show();
            frm.Activate();
        }
Example #3
0
 private void FrmStyleSize_FormClosing(object sender, FormClosingEventArgs e)
 {
     frm = null;
 }