private void AfegirClientB_Click(object sender, EventArgs e) { c.Nom = nomInput.Text.ToString(); Console.WriteLine(c.Nom); c = ClientsRepository.InsertClient(c); if (c != null) { this.Hide(); this.Close(); } }
private void AfegirClientB_Click(object sender, EventArgs e) { c.Nom = nomInput.Text.ToString(); Console.WriteLine(c.Nom); c = ClientsRepository.InsertClient(c); if (c != null) { this.Hide(); this.Close(); } }