private void btnSaveChanges_Click(object sender, EventArgs e)
 {
     if (!filledValues())
     {
         //MessageBox.Show("Complete la información");
     }
     else
     {
         supplier s = new supplier();
         s.RUC           = txtRuc.Text;
         s.name          = txtNombre.Text;
         s.address       = txtDireccion.Text;
         s.bankData      = txtCuenta.Text;
         s.contactEmail  = txtEmail.Text;
         s.contactPerson = txtPersonaContacto.Text;
         s.supplierCode  = txtCodProv.Text;
         s.state         = 1;
         serviceDA       = new DBControllerWSClient();
         Cursor.Current  = Cursors.WaitCursor;
         serviceDA.insertSupplier(s);
         Cursor.Current = Cursors.Arrow;
         MessageBox.Show("El proveedor se agregó satisfactoriamente");
         this.Close();
     }
 }