Пример #1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            Form sForm = DailyScheduleEntryAdd.Instance();

            //  sForm.MdiParent = this;
            sForm.Show();
            sForm.Activate();
        }
Пример #2
0
 public static DailyScheduleEntryAdd Instance()
 {
     if (sForm == null)
     {
         sForm = new DailyScheduleEntryAdd();
     }
     return(sForm);
 }