This commit is contained in:
fedpo
2024-08-05 02:32:20 +01:00
parent a3b7e9bfc4
commit 82ef086a3b
25 changed files with 199 additions and 219 deletions

View File

@@ -31,7 +31,7 @@
dgvProducto = new DataGridView();
ID = new Label();
label2 = new Label();
numericUpDown1 = new NumericUpDown();
numId = new NumericUpDown();
btnGuardar = new Button();
btnCerrar = new Button();
btnAddProducto = new Button();
@@ -40,23 +40,29 @@
dgvPedido = new DataGridView();
label1 = new Label();
label3 = new Label();
numericUpDown2 = new NumericUpDown();
numCantidad = new NumericUpDown();
label4 = new Label();
((System.ComponentModel.ISupportInitialize)dgvProducto).BeginInit();
((System.ComponentModel.ISupportInitialize)numericUpDown1).BeginInit();
((System.ComponentModel.ISupportInitialize)numId).BeginInit();
((System.ComponentModel.ISupportInitialize)dgvProveedor).BeginInit();
((System.ComponentModel.ISupportInitialize)dgvPedido).BeginInit();
((System.ComponentModel.ISupportInitialize)numericUpDown2).BeginInit();
((System.ComponentModel.ISupportInitialize)numCantidad).BeginInit();
SuspendLayout();
//
// dgvProducto
//
dgvProducto.AllowUserToAddRows = false;
dgvProducto.AllowUserToDeleteRows = false;
dgvProducto.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dgvProducto.EditMode = DataGridViewEditMode.EditProgrammatically;
dgvProducto.Location = new Point(227, 26);
dgvProducto.MultiSelect = false;
dgvProducto.Name = "dgvProducto";
dgvProducto.RowTemplate.Height = 25;
dgvProducto.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
dgvProducto.Size = new Size(275, 249);
dgvProducto.TabIndex = 1;
dgvProducto.CellClick += dgvProducto_CellClick;
//
// ID
//
@@ -76,13 +82,13 @@
label2.TabIndex = 3;
label2.Text = "Provedor";
//
// numericUpDown1
// numId
//
numericUpDown1.Location = new Point(78, 26);
numericUpDown1.Maximum = new decimal(new int[] { 1410065407, 2, 0, 0 });
numericUpDown1.Name = "numericUpDown1";
numericUpDown1.Size = new Size(120, 23);
numericUpDown1.TabIndex = 8;
numId.Location = new Point(78, 26);
numId.Maximum = new decimal(new int[] { 1410065407, 2, 0, 0 });
numId.Name = "numId";
numId.Size = new Size(120, 23);
numId.TabIndex = 8;
//
// btnGuardar
//
@@ -92,6 +98,7 @@
btnGuardar.TabIndex = 9;
btnGuardar.Text = "Guardar";
btnGuardar.UseVisualStyleBackColor = true;
btnGuardar.Click += btnGuardar_Click;
//
// btnCerrar
//
@@ -111,6 +118,7 @@
btnAddProducto.TabIndex = 11;
btnAddProducto.Text = "Agregar Producto";
btnAddProducto.UseVisualStyleBackColor = true;
btnAddProducto.Click += btnAddProducto_Click;
//
// btnrmProducto
//
@@ -120,13 +128,19 @@
btnrmProducto.TabIndex = 12;
btnrmProducto.Text = "Eliminar Producto";
btnrmProducto.UseVisualStyleBackColor = true;
btnrmProducto.Click += btnrmProducto_Click;
//
// dgvProveedor
//
dgvProveedor.AllowUserToAddRows = false;
dgvProveedor.AllowUserToDeleteRows = false;
dgvProveedor.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dgvProveedor.EditMode = DataGridViewEditMode.EditProgrammatically;
dgvProveedor.Location = new Point(508, 26);
dgvProveedor.MultiSelect = false;
dgvProveedor.Name = "dgvProveedor";
dgvProveedor.RowTemplate.Height = 25;
dgvProveedor.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
dgvProveedor.Size = new Size(269, 249);
dgvProveedor.TabIndex = 13;
//
@@ -136,6 +150,7 @@
dgvPedido.Location = new Point(11, 67);
dgvPedido.Name = "dgvPedido";
dgvPedido.RowTemplate.Height = 25;
dgvPedido.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
dgvPedido.Size = new Size(187, 171);
dgvPedido.TabIndex = 14;
//
@@ -157,13 +172,13 @@
label3.TabIndex = 16;
label3.Text = "Pedido";
//
// numericUpDown2
// numCantidad
//
numericUpDown2.Location = new Point(317, 281);
numericUpDown2.Maximum = new decimal(new int[] { 1410065407, 2, 0, 0 });
numericUpDown2.Name = "numericUpDown2";
numericUpDown2.Size = new Size(120, 23);
numericUpDown2.TabIndex = 17;
numCantidad.Location = new Point(317, 281);
numCantidad.Maximum = new decimal(new int[] { 1410065407, 2, 0, 0 });
numCantidad.Name = "numCantidad";
numCantidad.Size = new Size(120, 23);
numCantidad.TabIndex = 17;
//
// label4
//
@@ -174,7 +189,7 @@
label4.TabIndex = 18;
label4.Text = "Cantidad";
//
// FrmPedidoPresupuesto
// FrmPresupuesto
//
AcceptButton = btnGuardar;
AutoScaleDimensions = new SizeF(7F, 15F);
@@ -182,7 +197,7 @@
CancelButton = btnCerrar;
ClientSize = new Size(794, 351);
Controls.Add(label4);
Controls.Add(numericUpDown2);
Controls.Add(numCantidad);
Controls.Add(label3);
Controls.Add(label1);
Controls.Add(dgvPedido);
@@ -191,17 +206,17 @@
Controls.Add(btnAddProducto);
Controls.Add(btnCerrar);
Controls.Add(btnGuardar);
Controls.Add(numericUpDown1);
Controls.Add(numId);
Controls.Add(label2);
Controls.Add(ID);
Controls.Add(dgvProducto);
Name = "FrmPedidoPresupuesto";
Text = "Form1";
Name = "FrmPresupuesto";
Text = "Presupuesto";
((System.ComponentModel.ISupportInitialize)dgvProducto).EndInit();
((System.ComponentModel.ISupportInitialize)numericUpDown1).EndInit();
((System.ComponentModel.ISupportInitialize)numId).EndInit();
((System.ComponentModel.ISupportInitialize)dgvProveedor).EndInit();
((System.ComponentModel.ISupportInitialize)dgvPedido).EndInit();
((System.ComponentModel.ISupportInitialize)numericUpDown2).EndInit();
((System.ComponentModel.ISupportInitialize)numCantidad).EndInit();
ResumeLayout(false);
PerformLayout();
}
@@ -210,7 +225,7 @@
private DataGridView dgvProducto;
private Label ID;
private Label label2;
private NumericUpDown numericUpDown1;
private NumericUpDown numId;
private Button btnGuardar;
private Button btnCerrar;
private Button btnAddProducto;
@@ -219,7 +234,7 @@
private DataGridView dgvPedido;
private Label label1;
private Label label3;
private NumericUpDown numericUpDown2;
private NumericUpDown numCantidad;
private Label label4;
}
}