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

@@ -29,18 +29,22 @@
private void InitializeComponent()
{
groupBox1 = new GroupBox();
dataGridView2 = new DataGridView();
dataGridView1 = new DataGridView();
label2 = new Label();
label1 = new Label();
dgvDetalles = new DataGridView();
dgvFacturas = new DataGridView();
BtnAdd = new Button();
groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)dataGridView2).BeginInit();
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
((System.ComponentModel.ISupportInitialize)dgvDetalles).BeginInit();
((System.ComponentModel.ISupportInitialize)dgvFacturas).BeginInit();
SuspendLayout();
//
// groupBox1
//
groupBox1.Controls.Add(dataGridView2);
groupBox1.Controls.Add(dataGridView1);
groupBox1.Controls.Add(label2);
groupBox1.Controls.Add(label1);
groupBox1.Controls.Add(dgvDetalles);
groupBox1.Controls.Add(dgvFacturas);
groupBox1.Controls.Add(BtnAdd);
groupBox1.Location = new Point(12, 12);
groupBox1.Name = "groupBox1";
@@ -48,34 +52,57 @@
groupBox1.TabIndex = 5;
groupBox1.TabStop = false;
//
// dataGridView2
// label2
//
dataGridView2.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
dataGridView2.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView2.Location = new Point(623, 0);
dataGridView2.Name = "dataGridView2";
dataGridView2.RowTemplate.Height = 25;
dataGridView2.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
dataGridView2.Size = new Size(384, 426);
dataGridView2.TabIndex = 4;
label2.AutoSize = true;
label2.Location = new Point(6, 19);
label2.Name = "label2";
label2.Size = new Size(46, 15);
label2.TabIndex = 6;
label2.Text = "Factura";
//
// dataGridView1
// label1
//
dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView1.Location = new Point(6, 16);
dataGridView1.Name = "dataGridView1";
dataGridView1.RowTemplate.Height = 25;
dataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
dataGridView1.Size = new Size(508, 241);
dataGridView1.TabIndex = 3;
dataGridView1.CellBorderStyleChanged += dataGridView1_CellBorderStyleChanged;
dataGridView1.CellClick += dataGridView1_CellClick;
dataGridView1.CellContentClick += dataGridView1_CellContentClick;
label1.AutoSize = true;
label1.Location = new Point(520, 19);
label1.Name = "label1";
label1.Size = new Size(48, 15);
label1.TabIndex = 5;
label1.Text = "Detalles";
//
// dgvDetalles
//
dgvDetalles.AllowUserToAddRows = false;
dgvDetalles.AllowUserToDeleteRows = false;
dgvDetalles.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
dgvDetalles.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dgvDetalles.EditMode = DataGridViewEditMode.EditProgrammatically;
dgvDetalles.ImeMode = ImeMode.On;
dgvDetalles.Location = new Point(520, 40);
dgvDetalles.Name = "dgvDetalles";
dgvDetalles.RowTemplate.Height = 25;
dgvDetalles.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
dgvDetalles.Size = new Size(384, 241);
dgvDetalles.TabIndex = 4;
//
// dgvFacturas
//
dgvFacturas.AllowUserToAddRows = false;
dgvFacturas.AllowUserToDeleteRows = false;
dgvFacturas.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
dgvFacturas.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dgvFacturas.EditMode = DataGridViewEditMode.EditProgrammatically;
dgvFacturas.Location = new Point(6, 40);
dgvFacturas.Name = "dgvFacturas";
dgvFacturas.RowTemplate.Height = 25;
dgvFacturas.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
dgvFacturas.Size = new Size(508, 241);
dgvFacturas.TabIndex = 3;
dgvFacturas.CellClick += dgvFacturas_CellClick;
//
// BtnAdd
//
BtnAdd.Location = new Point(6, 299);
BtnAdd.Location = new Point(6, 287);
BtnAdd.Name = "BtnAdd";
BtnAdd.Size = new Size(75, 23);
BtnAdd.TabIndex = 0;
@@ -93,16 +120,19 @@
Text = "Ventas";
WindowState = FormWindowState.Maximized;
groupBox1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)dataGridView2).EndInit();
((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
groupBox1.PerformLayout();
((System.ComponentModel.ISupportInitialize)dgvDetalles).EndInit();
((System.ComponentModel.ISupportInitialize)dgvFacturas).EndInit();
ResumeLayout(false);
}
#endregion
private GroupBox groupBox1;
private DataGridView dataGridView1;
private DataGridView dgvFacturas;
private Button BtnAdd;
private DataGridView dataGridView2;
private DataGridView dgvDetalles;
private Label label2;
private Label label1;
}
}