private void btBooksClick(object sender, EventArgs e) { //TODO if (!IsConnected()) { return; } Form_Books formBooks = new Form_Books(true); formBooks.ShowDialog(); formBooks.Dispose(); }
private void bt_kunde_Click(object sender, EventArgs e) { if (Text == "Buch-Details") { Form_Books formBooks = new Form_Books(true); formBooks.ShowDialog(this); formBooks.Dispose(); } else if (Text == "Kunden-Details") { FormCostumer formCostumer = new FormCostumer(); formCostumer.ShowDialog(this); formCostumer.Dispose(); } }