private void BuchAnzeigenToolStripMenuItem_Click(object sender, EventArgs e) { Form Buch = new Form_Books(gridOverview.SelectedRows[0].Cells["ISBN"].Value.ToString()); loadEnabled = false; Buch.ShowDialog(this); loadEnabled = true; if (!workerMain.IsBusy) { workerMain.RunWorkerAsync(); } }
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(); } }