private void ClearClient_Click(object sender, EventArgs e) { Document.Clear(); NameClient.Clear(); PhoneClient.Clear(); Email.Clear(); AddresClient.Clear(); }
private void SaveClient_Click(object sender, EventArgs e) { CL.AgregarCliente(Document.Text, NameClient.Text, AddresClient.Text, PhoneClient.Text, Email.Text); Document.Clear(); NameClient.Clear(); AddresClient.Clear(); PhoneClient.Clear(); Email.Clear(); Document.Focus(); CL.MostrarClientes(dataGridView2); }