예제 #1
0
 private void Nuevobutton_Click(object sender, EventArgs e)
 {
     ArticuloIDNumericUpDown.Value = 0;
     DescripcionTextBox.Clear();
     CostoNumericUpDown.Value  = 0;
     PrecioNumericUpDown.Value = 0;
     //GananciaNumericUpDown.Value = 0;//
     GananciaTextBox.Clear();
     InventarioNumericUpDown.Value = 0;
 }
 private void Limpiar()
 {
     IdnumericUpDown.Value = 0;
     DescripciontextBox.Clear();
     CostonumericUpDown.Value = 0;
     InventariotextBox.Clear();
     GananciaTextBox.Clear();
     PrecionumericUpDown.Value = 0;
     InventariotextBox.Text    = 0.ToString();
     MyErrorProvider.Clear();
 }