Пример #1
0
        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();
            }
        }
Пример #2
0
        private void btBooksClick(object sender, EventArgs e)
        {
            //TODO
            if (!IsConnected())
            {
                return;
            }
            Form_Books formBooks = new Form_Books(true);

            formBooks.ShowDialog();
            formBooks.Dispose();
        }
Пример #3
0
 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();
     }
 }