feat: terminados 4 de 7 forms

This commit is contained in:
2024-08-11 18:25:05 -03:00
parent 502f10131c
commit ab890dbf98
60 changed files with 753 additions and 825 deletions

View File

@@ -33,11 +33,11 @@
label3 = new Label();
label4 = new Label();
label5 = new Label();
numericUpDown1 = new NumericUpDown();
textBox1 = new TextBox();
numericUpDown2 = new NumericUpDown();
checkBox1 = new CheckBox();
comboBox1 = new ComboBox();
numId = new NumericUpDown();
txtNombre = new TextBox();
numPrecio = new NumericUpDown();
checkHabilitado = new CheckBox();
cmbCategoria = new ComboBox();
btnacept = new Button();
btncancel = new Button();
label6 = new Label();
@@ -46,8 +46,8 @@
dgvProveedor = new DataGridView();
btnaddProveedor = new Button();
btnrmProveedor = new Button();
((System.ComponentModel.ISupportInitialize)numericUpDown1).BeginInit();
((System.ComponentModel.ISupportInitialize)numericUpDown2).BeginInit();
((System.ComponentModel.ISupportInitialize)numId).BeginInit();
((System.ComponentModel.ISupportInitialize)numPrecio).BeginInit();
((System.ComponentModel.ISupportInitialize)dgvProveedorAñadido).BeginInit();
((System.ComponentModel.ISupportInitialize)dgvProveedor).BeginInit();
SuspendLayout();
@@ -97,47 +97,46 @@
label5.TabIndex = 4;
label5.Text = "Categoria";
//
// numericUpDown1
// numId
//
numericUpDown1.Location = new Point(70, 12);
numericUpDown1.Maximum = new decimal(new int[] { 1215752191, 23, 0, 0 });
numericUpDown1.Name = "numericUpDown1";
numericUpDown1.Size = new Size(120, 23);
numericUpDown1.TabIndex = 5;
numId.Location = new Point(70, 12);
numId.Maximum = new decimal(new int[] { 1215752191, 23, 0, 0 });
numId.Name = "numId";
numId.Size = new Size(120, 23);
numId.TabIndex = 5;
//
// textBox1
// txtNombre
//
textBox1.Location = new Point(71, 40);
textBox1.Name = "textBox1";
textBox1.Size = new Size(120, 23);
textBox1.TabIndex = 6;
txtNombre.Location = new Point(71, 40);
txtNombre.Name = "txtNombre";
txtNombre.Size = new Size(120, 23);
txtNombre.TabIndex = 6;
//
// numericUpDown2
// numPrecio
//
numericUpDown2.Location = new Point(71, 72);
numericUpDown2.Maximum = new decimal(new int[] { 100000000, 0, 0, 0 });
numericUpDown2.Name = "numericUpDown2";
numericUpDown2.Size = new Size(120, 23);
numericUpDown2.TabIndex = 7;
numPrecio.Location = new Point(71, 72);
numPrecio.Maximum = new decimal(new int[] { 100000000, 0, 0, 0 });
numPrecio.Name = "numPrecio";
numPrecio.Size = new Size(120, 23);
numPrecio.TabIndex = 7;
//
// checkBox1
// checkHabilitado
//
checkBox1.AutoSize = true;
checkBox1.Location = new Point(71, 112);
checkBox1.Name = "checkBox1";
checkBox1.Size = new Size(15, 14);
checkBox1.TabIndex = 8;
checkBox1.UseVisualStyleBackColor = true;
checkHabilitado.AutoSize = true;
checkHabilitado.Location = new Point(71, 112);
checkHabilitado.Name = "checkHabilitado";
checkHabilitado.Size = new Size(15, 14);
checkHabilitado.TabIndex = 8;
checkHabilitado.UseVisualStyleBackColor = true;
//
// comboBox1
// cmbCategoria
//
comboBox1.DropDownStyle = ComboBoxStyle.DropDownList;
comboBox1.FormattingEnabled = true;
comboBox1.Location = new Point(70, 134);
comboBox1.Name = "comboBox1";
comboBox1.Size = new Size(121, 23);
comboBox1.TabIndex = 9;
comboBox1.SelectedIndexChanged += comboBox1_SelectedIndexChanged;
cmbCategoria.DropDownStyle = ComboBoxStyle.DropDownList;
cmbCategoria.FormattingEnabled = true;
cmbCategoria.Location = new Point(70, 134);
cmbCategoria.Name = "cmbCategoria";
cmbCategoria.Size = new Size(121, 23);
cmbCategoria.TabIndex = 9;
//
// btnacept
//
@@ -147,7 +146,7 @@
btnacept.TabIndex = 10;
btnacept.Text = "Aceptar";
btnacept.UseVisualStyleBackColor = true;
btnacept.Click += button1_Click;
btnacept.Click += btnacept_Click;
//
// btncancel
//
@@ -157,7 +156,7 @@
btncancel.TabIndex = 11;
btncancel.Text = "Cancelar";
btncancel.UseVisualStyleBackColor = true;
btncancel.Click += button2_Click;
btncancel.Click += btnCerrar;
//
// label6
//
@@ -235,11 +234,11 @@
Controls.Add(label6);
Controls.Add(btncancel);
Controls.Add(btnacept);
Controls.Add(comboBox1);
Controls.Add(checkBox1);
Controls.Add(numericUpDown2);
Controls.Add(textBox1);
Controls.Add(numericUpDown1);
Controls.Add(cmbCategoria);
Controls.Add(checkHabilitado);
Controls.Add(numPrecio);
Controls.Add(txtNombre);
Controls.Add(numId);
Controls.Add(label5);
Controls.Add(label4);
Controls.Add(label3);
@@ -247,8 +246,8 @@
Controls.Add(label1);
Name = "FrmProducto";
Text = "Producto";
((System.ComponentModel.ISupportInitialize)numericUpDown1).EndInit();
((System.ComponentModel.ISupportInitialize)numericUpDown2).EndInit();
((System.ComponentModel.ISupportInitialize)numId).EndInit();
((System.ComponentModel.ISupportInitialize)numPrecio).EndInit();
((System.ComponentModel.ISupportInitialize)dgvProveedorAñadido).EndInit();
((System.ComponentModel.ISupportInitialize)dgvProveedor).EndInit();
ResumeLayout(false);
@@ -262,11 +261,11 @@
private Label label3;
private Label label4;
private Label label5;
private NumericUpDown numericUpDown1;
private TextBox textBox1;
private NumericUpDown numericUpDown2;
private CheckBox checkBox1;
private ComboBox comboBox1;
private NumericUpDown numId;
private TextBox txtNombre;
private NumericUpDown numPrecio;
private CheckBox checkHabilitado;
private ComboBox cmbCategoria;
private Button btnacept;
private Button btncancel;
private Label label6;