private void button1_Click(object sender, EventArgs e)
        {
            int IdRep = Convert.ToInt32(txId.Text);
            MetodosRepresentante m = new MetodosRepresentante();
            if (nombre.Text.Length == 0 || apellido.Text.Length == 0 || dir.Text.Length == 0 || tel.Text.Length == 0)
            {
                MessageBox.Show("Complete los campos y luego actualice", "");

            }
            else
            {
                m.ActualizarRepresentante(IdRep, nombre.Text, apellido.Text, dir.Text, tel.Text);
                this.Dispose();
            }
        }