ahi va todo fixeado por ahora faltan forms
This commit is contained in:
@@ -28,7 +28,8 @@ namespace Vista
|
||||
txtApellido.Text = cliente.Apellido;
|
||||
txtDireccion.Text = cliente.Direccion;
|
||||
txtCorreo.Text = cliente.Correo;
|
||||
txtCuit.ReadOnly = true;
|
||||
numCuit.Value = cliente.Cuit;
|
||||
numCuit.ReadOnly = true;
|
||||
|
||||
|
||||
}
|
||||
@@ -75,7 +76,7 @@ namespace Vista
|
||||
cliente = new Cliente
|
||||
{
|
||||
Nombre = txtNombre.Text,
|
||||
Cuit = txtCuit.Text,
|
||||
Cuit = long.Parse(numCuit.Value.ToString()),
|
||||
Direccion = txtDireccion.Text,
|
||||
Apellido = txtApellido.Text,
|
||||
Correo = txtCorreo.Text,
|
||||
@@ -90,7 +91,7 @@ namespace Vista
|
||||
cliente.Nombre = txtNombre.Text;
|
||||
cliente.Direccion = txtDireccion.Text;
|
||||
cliente.Correo = txtCorreo.Text;
|
||||
cliente.Cuit = txtCuit.Text;
|
||||
cliente.Cuit = long.Parse(numCuit.Text.ToString());
|
||||
msg = ControladoraClientes.Instance.Modificar(cliente);
|
||||
}
|
||||
MessageBox.Show(msg, "Información", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
|
||||
Reference in New Issue
Block a user