private void bttDeleteCustomer_Click(object sender, EventArgs e) { if (!ValiadtionDelete(GridViewСustomers)) { return; } classTableCustomer.NameCustomer = GridViewСustomers.CurrentRow.Cells[0].Value.ToString(); classTableCustomer.DeleteRow(); classTableCustomer.ShowTable(); }