Subir Version Estable

This commit is contained in:
Michael Robles
2024-02-03 06:06:38 -07:00
8 changed files with 10 additions and 9 deletions
+9 -9
View File
@@ -29,7 +29,7 @@
private void InitializeComponent() private void InitializeComponent()
{ {
this.label1 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label();
this.btnCliente = new System.Windows.Forms.TextBox(); this.txtCliente = new System.Windows.Forms.TextBox();
this.btnAceptar = new System.Windows.Forms.Button(); this.btnAceptar = new System.Windows.Forms.Button();
this.btnCancelar = new System.Windows.Forms.Button(); this.btnCancelar = new System.Windows.Forms.Button();
this.SuspendLayout(); this.SuspendLayout();
@@ -44,13 +44,13 @@
this.label1.TabIndex = 0; this.label1.TabIndex = 0;
this.label1.Text = "Cliente"; this.label1.Text = "Cliente";
// //
// btnCliente // txtCliente
// //
this.btnCliente.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCliente.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnCliente.Location = new System.Drawing.Point(16, 52); this.txtCliente.Location = new System.Drawing.Point(16, 52);
this.btnCliente.Name = "btnCliente"; this.txtCliente.Name = "txtCliente";
this.btnCliente.Size = new System.Drawing.Size(283, 26); this.txtCliente.Size = new System.Drawing.Size(283, 26);
this.btnCliente.TabIndex = 1; this.txtCliente.TabIndex = 1;
// //
// btnAceptar // btnAceptar
// //
@@ -81,7 +81,7 @@
this.ClientSize = new System.Drawing.Size(320, 160); this.ClientSize = new System.Drawing.Size(320, 160);
this.Controls.Add(this.btnCancelar); this.Controls.Add(this.btnCancelar);
this.Controls.Add(this.btnAceptar); this.Controls.Add(this.btnAceptar);
this.Controls.Add(this.btnCliente); this.Controls.Add(this.txtCliente);
this.Controls.Add(this.label1); this.Controls.Add(this.label1);
this.Name = "datosCuenta"; this.Name = "datosCuenta";
this.Text = "Datos de cuenta"; this.Text = "Datos de cuenta";
@@ -94,7 +94,7 @@
#endregion #endregion
private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox btnCliente; private System.Windows.Forms.TextBox txtCliente;
private System.Windows.Forms.Button btnAceptar; private System.Windows.Forms.Button btnAceptar;
private System.Windows.Forms.Button btnCancelar; private System.Windows.Forms.Button btnCancelar;
} }
+1
View File
@@ -32,6 +32,7 @@ namespace compabetov2.Ventas
private void btnAceptar_Click(object sender, EventArgs e) private void btnAceptar_Click(object sender, EventArgs e)
{ {
ventaModel.cliente = txtCliente.Text;
if (service.crearCuenta(ventaModel, detalles)) if (service.crearCuenta(ventaModel, detalles))
{ {
MessageBox.Show("Fiado"); MessageBox.Show("Fiado");
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.