aumenta el stock de los productos
This commit is contained in:
+20
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user