private void btnAdd_Click(object sender, EventArgs e) { Form sForm = DailyScheduleEntryAdd.Instance(); // sForm.MdiParent = this; sForm.Show(); sForm.Activate(); }
public static DailyScheduleEntryAdd Instance() { if (sForm == null) { sForm = new DailyScheduleEntryAdd(); } return(sForm); }