aumenta el stock de los productos

This commit is contained in:
carlos
2024-01-08 17:57:24 -06:00
parent 6559c12b6c
commit e051a8c259
10 changed files with 84 additions and 12 deletions
+20 -1
View File
@@ -4,6 +4,7 @@ using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder;
using System.Drawing;
using System.Linq;
using System.Text;
@@ -17,7 +18,8 @@ namespace compabetov2
public personal()
{
InitializeComponent();
llenarGrid();
llenarGrid();
limpiarCampos();
}
@@ -121,6 +123,23 @@ namespace compabetov2
btnEliminar.Enabled = false;
btnAgregar.Enabled = true;
dataGridView1.Enabled = false;
limpiarCampos();
}
private void limpiarCampos()
{
txtnombrepersonal.Text = "";
txtapellidopersonal.Text = "";
dtpfechapersonal.Text = "";
cbestadopersonal.Text = "";
txtcallepersonal.Text = "";
txtcoloniapersonal.Text = "";
txtcodigopersonal.Text = "";
txtnoextpersonal.Text = "";
txtnointpersonal.Text = "";
txtreferenciapersonal.Text = "";
dtpnacimientopersonal.Text = "";
txttelefonopersonal.Text = "";
}
private void button1_Click(object sender, EventArgs e)