//PADRES private void buttonMostrarPadres_Click(object sender, EventArgs e) { ENCustomer customer = new ENCustomer(); List <ENCustomer> list = customer.readAll(); dataGridViewMostrarPadres.Rows.Clear(); foreach (ENCustomer c in list) { dataGridViewMostrarPadres.Rows.Add(c.IdCustomers, c.Name, c.Surname, c.Telephone, c.Adress); } }
private void buttonGuardarPadre_Click(object sender, EventArgs e) { ENCustomer customer = new ENCustomer(); }