feat: terminados 4 de 7 forms
This commit is contained in:
208
Vista/FrmFactura.Designer.cs
generated
208
Vista/FrmFactura.Designer.cs
generated
@@ -28,8 +28,8 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
button1 = new Button();
|
||||
button2 = new Button();
|
||||
btnAceptar = new Button();
|
||||
btnCancelar = new Button();
|
||||
numid = new NumericUpDown();
|
||||
label1 = new Label();
|
||||
numtotal = new NumericUpDown();
|
||||
@@ -38,41 +38,44 @@
|
||||
label3 = new Label();
|
||||
label4 = new Label();
|
||||
cmbCliente = new ComboBox();
|
||||
dataGridView1 = new DataGridView();
|
||||
dataGridView2 = new DataGridView();
|
||||
numericUpDown1 = new NumericUpDown();
|
||||
dgvProductos = new DataGridView();
|
||||
dgvDetalles = new DataGridView();
|
||||
numCantidad = new NumericUpDown();
|
||||
Unidades = new Label();
|
||||
button3 = new Button();
|
||||
btnAddDetalle = new Button();
|
||||
label5 = new Label();
|
||||
label6 = new Label();
|
||||
btnEliminar = new Button();
|
||||
((System.ComponentModel.ISupportInitialize)numid).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)numtotal).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView2).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)numericUpDown1).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)dgvProductos).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)dgvDetalles).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)numCantidad).BeginInit();
|
||||
SuspendLayout();
|
||||
//
|
||||
// button1
|
||||
// btnAceptar
|
||||
//
|
||||
button1.Location = new Point(12, 367);
|
||||
button1.Name = "button1";
|
||||
button1.Size = new Size(113, 46);
|
||||
button1.TabIndex = 0;
|
||||
button1.Text = "Aceptar";
|
||||
button1.UseVisualStyleBackColor = true;
|
||||
button1.Click += button1_Click;
|
||||
btnAceptar.Location = new Point(12, 395);
|
||||
btnAceptar.Name = "btnAceptar";
|
||||
btnAceptar.Size = new Size(82, 26);
|
||||
btnAceptar.TabIndex = 0;
|
||||
btnAceptar.Text = "Aceptar";
|
||||
btnAceptar.UseVisualStyleBackColor = true;
|
||||
btnAceptar.Click += btnAceptar_Click;
|
||||
//
|
||||
// button2
|
||||
// btnCancelar
|
||||
//
|
||||
button2.Location = new Point(172, 367);
|
||||
button2.Name = "button2";
|
||||
button2.Size = new Size(115, 46);
|
||||
button2.TabIndex = 1;
|
||||
button2.Text = "Cancelar";
|
||||
button2.UseVisualStyleBackColor = true;
|
||||
button2.Click += button2_Click;
|
||||
btnCancelar.Location = new Point(873, 395);
|
||||
btnCancelar.Name = "btnCancelar";
|
||||
btnCancelar.Size = new Size(80, 26);
|
||||
btnCancelar.TabIndex = 1;
|
||||
btnCancelar.Text = "Cancelar";
|
||||
btnCancelar.UseVisualStyleBackColor = true;
|
||||
btnCancelar.Click += btnCerrar_Click;
|
||||
//
|
||||
// numid
|
||||
//
|
||||
numid.Location = new Point(97, 26);
|
||||
numid.Location = new Point(60, 14);
|
||||
numid.Maximum = new decimal(new int[] { 1215752191, 23, 0, 0 });
|
||||
numid.Name = "numid";
|
||||
numid.Size = new Size(120, 23);
|
||||
@@ -81,7 +84,7 @@
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
label1.Location = new Point(69, 34);
|
||||
label1.Location = new Point(32, 22);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new Size(18, 15);
|
||||
label1.TabIndex = 3;
|
||||
@@ -90,7 +93,7 @@
|
||||
// numtotal
|
||||
//
|
||||
numtotal.Enabled = false;
|
||||
numtotal.Location = new Point(97, 57);
|
||||
numtotal.Location = new Point(60, 45);
|
||||
numtotal.Maximum = new decimal(new int[] { 1215752191, 23, 0, 0 });
|
||||
numtotal.Name = "numtotal";
|
||||
numtotal.ReadOnly = true;
|
||||
@@ -100,7 +103,7 @@
|
||||
// label2
|
||||
//
|
||||
label2.AutoSize = true;
|
||||
label2.Location = new Point(59, 65);
|
||||
label2.Location = new Point(22, 53);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new Size(32, 15);
|
||||
label2.TabIndex = 5;
|
||||
@@ -108,16 +111,15 @@
|
||||
//
|
||||
// datepick
|
||||
//
|
||||
datepick.Location = new Point(97, 88);
|
||||
datepick.Location = new Point(60, 76);
|
||||
datepick.Name = "datepick";
|
||||
datepick.Size = new Size(120, 23);
|
||||
datepick.TabIndex = 6;
|
||||
datepick.ValueChanged += datepick_ValueChanged;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
label3.AutoSize = true;
|
||||
label3.Location = new Point(49, 94);
|
||||
label3.Location = new Point(12, 82);
|
||||
label3.Name = "label3";
|
||||
label3.Size = new Size(38, 15);
|
||||
label3.TabIndex = 7;
|
||||
@@ -126,7 +128,7 @@
|
||||
// label4
|
||||
//
|
||||
label4.AutoSize = true;
|
||||
label4.Location = new Point(49, 124);
|
||||
label4.Location = new Point(12, 112);
|
||||
label4.Name = "label4";
|
||||
label4.Size = new Size(44, 15);
|
||||
label4.TabIndex = 8;
|
||||
@@ -136,69 +138,106 @@
|
||||
//
|
||||
cmbCliente.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||
cmbCliente.FormattingEnabled = true;
|
||||
cmbCliente.Location = new Point(99, 121);
|
||||
cmbCliente.Location = new Point(62, 109);
|
||||
cmbCliente.Name = "cmbCliente";
|
||||
cmbCliente.Size = new Size(121, 23);
|
||||
cmbCliente.TabIndex = 10;
|
||||
//
|
||||
// dataGridView1
|
||||
// dgvProductos
|
||||
//
|
||||
dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
||||
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dataGridView1.Location = new Point(290, 12);
|
||||
dataGridView1.Name = "dataGridView1";
|
||||
dataGridView1.RowTemplate.Height = 25;
|
||||
dataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
||||
dataGridView1.Size = new Size(324, 318);
|
||||
dataGridView1.TabIndex = 11;
|
||||
dgvProductos.AllowUserToAddRows = false;
|
||||
dgvProductos.AllowUserToDeleteRows = false;
|
||||
dgvProductos.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
||||
dgvProductos.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dgvProductos.EditMode = DataGridViewEditMode.EditProgrammatically;
|
||||
dgvProductos.Location = new Point(237, 30);
|
||||
dgvProductos.Name = "dgvProductos";
|
||||
dgvProductos.RowTemplate.Height = 25;
|
||||
dgvProductos.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
||||
dgvProductos.Size = new Size(350, 318);
|
||||
dgvProductos.TabIndex = 11;
|
||||
//
|
||||
// dataGridView2
|
||||
// dgvDetalles
|
||||
//
|
||||
dataGridView2.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
||||
dataGridView2.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dataGridView2.Location = new Point(674, 12);
|
||||
dataGridView2.Name = "dataGridView2";
|
||||
dataGridView2.RowTemplate.Height = 25;
|
||||
dataGridView2.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
||||
dataGridView2.Size = new Size(290, 336);
|
||||
dataGridView2.TabIndex = 12;
|
||||
dgvDetalles.AllowUserToAddRows = false;
|
||||
dgvDetalles.AllowUserToDeleteRows = false;
|
||||
dgvDetalles.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
||||
dgvDetalles.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dgvDetalles.EditMode = DataGridViewEditMode.EditProgrammatically;
|
||||
dgvDetalles.Location = new Point(593, 30);
|
||||
dgvDetalles.Name = "dgvDetalles";
|
||||
dgvDetalles.RowTemplate.Height = 25;
|
||||
dgvDetalles.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
||||
dgvDetalles.Size = new Size(360, 318);
|
||||
dgvDetalles.TabIndex = 12;
|
||||
//
|
||||
// numericUpDown1
|
||||
// numCantidad
|
||||
//
|
||||
numericUpDown1.Location = new Point(494, 359);
|
||||
numericUpDown1.Name = "numericUpDown1";
|
||||
numericUpDown1.Size = new Size(120, 23);
|
||||
numericUpDown1.TabIndex = 13;
|
||||
numCantidad.Location = new Point(309, 354);
|
||||
numCantidad.Name = "numCantidad";
|
||||
numCantidad.Size = new Size(120, 23);
|
||||
numCantidad.TabIndex = 13;
|
||||
//
|
||||
// Unidades
|
||||
//
|
||||
Unidades.AutoSize = true;
|
||||
Unidades.Location = new Point(420, 367);
|
||||
Unidades.Location = new Point(235, 362);
|
||||
Unidades.Name = "Unidades";
|
||||
Unidades.Size = new Size(56, 15);
|
||||
Unidades.TabIndex = 14;
|
||||
Unidades.Text = "Unidades";
|
||||
//
|
||||
// button3
|
||||
// btnAddDetalle
|
||||
//
|
||||
button3.Location = new Point(420, 390);
|
||||
button3.Name = "button3";
|
||||
button3.Size = new Size(194, 36);
|
||||
button3.TabIndex = 15;
|
||||
button3.Text = "Añadir";
|
||||
button3.UseVisualStyleBackColor = true;
|
||||
button3.Click += button3_Click;
|
||||
btnAddDetalle.Location = new Point(235, 385);
|
||||
btnAddDetalle.Name = "btnAddDetalle";
|
||||
btnAddDetalle.Size = new Size(80, 31);
|
||||
btnAddDetalle.TabIndex = 15;
|
||||
btnAddDetalle.Text = "Añadir";
|
||||
btnAddDetalle.UseVisualStyleBackColor = true;
|
||||
btnAddDetalle.Click += btnAddDetalle_Click;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
label5.AutoSize = true;
|
||||
label5.Location = new Point(593, 9);
|
||||
label5.Name = "label5";
|
||||
label5.Size = new Size(48, 15);
|
||||
label5.TabIndex = 16;
|
||||
label5.Text = "Detalles";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
label6.AutoSize = true;
|
||||
label6.Location = new Point(237, 5);
|
||||
label6.Name = "label6";
|
||||
label6.Size = new Size(61, 15);
|
||||
label6.TabIndex = 17;
|
||||
label6.Text = "Productos";
|
||||
//
|
||||
// btnEliminar
|
||||
//
|
||||
btnEliminar.Location = new Point(321, 385);
|
||||
btnEliminar.Name = "btnEliminar";
|
||||
btnEliminar.Size = new Size(80, 31);
|
||||
btnEliminar.TabIndex = 18;
|
||||
btnEliminar.Text = "Eliminar";
|
||||
btnEliminar.UseVisualStyleBackColor = true;
|
||||
btnEliminar.Click += btnEliminar_Click;
|
||||
//
|
||||
// FrmFactura
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(976, 450);
|
||||
Controls.Add(button3);
|
||||
ClientSize = new Size(965, 428);
|
||||
Controls.Add(btnEliminar);
|
||||
Controls.Add(label6);
|
||||
Controls.Add(label5);
|
||||
Controls.Add(btnAddDetalle);
|
||||
Controls.Add(Unidades);
|
||||
Controls.Add(numericUpDown1);
|
||||
Controls.Add(dataGridView2);
|
||||
Controls.Add(dataGridView1);
|
||||
Controls.Add(numCantidad);
|
||||
Controls.Add(dgvDetalles);
|
||||
Controls.Add(dgvProductos);
|
||||
Controls.Add(cmbCliente);
|
||||
Controls.Add(label4);
|
||||
Controls.Add(label3);
|
||||
@@ -207,23 +246,23 @@
|
||||
Controls.Add(numtotal);
|
||||
Controls.Add(label1);
|
||||
Controls.Add(numid);
|
||||
Controls.Add(button2);
|
||||
Controls.Add(button1);
|
||||
Controls.Add(btnCancelar);
|
||||
Controls.Add(btnAceptar);
|
||||
Name = "FrmFactura";
|
||||
Text = "Form1";
|
||||
Text = "Agregar Factura";
|
||||
((System.ComponentModel.ISupportInitialize)numid).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)numtotal).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView2).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)numericUpDown1).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)dgvProductos).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)dgvDetalles).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)numCantidad).EndInit();
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Button button1;
|
||||
private Button button2;
|
||||
private Button btnAceptar;
|
||||
private Button btnCancelar;
|
||||
private NumericUpDown numid;
|
||||
private Label label1;
|
||||
private NumericUpDown numtotal;
|
||||
@@ -232,10 +271,13 @@
|
||||
private Label label3;
|
||||
private Label label4;
|
||||
private ComboBox cmbCliente;
|
||||
private DataGridView dataGridView1;
|
||||
private DataGridView dataGridView2;
|
||||
private NumericUpDown numericUpDown1;
|
||||
private DataGridView dgvProductos;
|
||||
private DataGridView dgvDetalles;
|
||||
private NumericUpDown numCantidad;
|
||||
private Label Unidades;
|
||||
private Button button3;
|
||||
private Button btnAddDetalle;
|
||||
private Label label5;
|
||||
private Label label6;
|
||||
private Button btnEliminar;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user