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

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