Exemplo n.º 1
0
        private void выбратьКлиентаToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormPicExtensionClients fpec = new FormPicExtensionClients(db);

            fpec.ShowDialog();

            List <int> idExtensionRepairs = db.GetExtensionWorksForPickClient(fpec.currentRow);

            CreateTab(fpec.currentRow.ToString(), idExtensionRepairs, fpec.quantityDays);

            if (tabControl1.TabCount != 0)
            {
                toolStripBtDeleteClient.Enabled = true;
            }
        }