agrega cliente cuenta
This commit is contained in:
Generated
+9
-9
@@ -29,7 +29,7 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
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.btnCancelar = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
@@ -44,13 +44,13 @@
|
||||
this.label1.TabIndex = 0;
|
||||
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.btnCliente.Location = new System.Drawing.Point(16, 52);
|
||||
this.btnCliente.Name = "btnCliente";
|
||||
this.btnCliente.Size = new System.Drawing.Size(283, 26);
|
||||
this.btnCliente.TabIndex = 1;
|
||||
this.txtCliente.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.txtCliente.Location = new System.Drawing.Point(16, 52);
|
||||
this.txtCliente.Name = "txtCliente";
|
||||
this.txtCliente.Size = new System.Drawing.Size(283, 26);
|
||||
this.txtCliente.TabIndex = 1;
|
||||
//
|
||||
// btnAceptar
|
||||
//
|
||||
@@ -81,7 +81,7 @@
|
||||
this.ClientSize = new System.Drawing.Size(320, 160);
|
||||
this.Controls.Add(this.btnCancelar);
|
||||
this.Controls.Add(this.btnAceptar);
|
||||
this.Controls.Add(this.btnCliente);
|
||||
this.Controls.Add(this.txtCliente);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Name = "datosCuenta";
|
||||
this.Text = "Datos de cuenta";
|
||||
@@ -94,7 +94,7 @@
|
||||
#endregion
|
||||
|
||||
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 btnCancelar;
|
||||
}
|
||||
|
||||
@@ -32,6 +32,7 @@ namespace compabetov2.Ventas
|
||||
|
||||
private void btnAceptar_Click(object sender, EventArgs e)
|
||||
{
|
||||
ventaModel.cliente = txtCliente.Text;
|
||||
if (service.crearCuenta(ventaModel, detalles))
|
||||
{
|
||||
MessageBox.Show("Fiado");
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user