private void btnHaupt_Click(object sender, EventArgs e) { Haupt frmHaupt = new Haupt(); frmHaupt.Show(); this.Hide(); }
private void Termin_FormClosing(object sender, FormClosingEventArgs e) { if (Program.frmHaupt == null) { Haupt frmHaupt = new Haupt(); Program.frmHaupt = frmHaupt; frmHaupt.Show(); } }