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

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