private void buch_Butt_Click(object sender, EventArgs e) { Buchung buch = new Buchung(); buch.StartPosition = FormStartPosition.CenterParent; buch.ShowDialog(this); }
private void buch_Butt_Click(object sender, EventArgs e) { Buchung buch = new Buchung(); buch.StartPosition = FormStartPosition.CenterParent; if (buch.ShowDialog() == DialogResult.OK) { showAll.Checked = true; getBuchungen(); getSumStunden(); getReisekosten(); } }