estadisticas en proceso

This commit is contained in:
Carlos Sandoval
2024-06-26 03:49:02 -06:00
parent a610343abe
commit d81f706053
17 changed files with 661 additions and 155 deletions
+106 -28
View File
@@ -32,16 +32,20 @@
this.dgvDia = new System.Windows.Forms.DataGridView();
this.Producto = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Precio = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.precioCompra = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Cantidad = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Total = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.totalNeto = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.btnBuscar = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.dgvMes = new System.Windows.Forms.DataGridView();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PrecioCompraMes = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.totalNetoMes = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.lbProductDia = new System.Windows.Forms.Label();
this.lbVendedorDia = new System.Windows.Forms.Label();
this.lbTotalDia = new System.Windows.Forms.Label();
@@ -51,6 +55,9 @@
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.lbDiaSEnvio = new System.Windows.Forms.Label();
this.lbMesSEnvio = new System.Windows.Forms.Label();
this.lbTotalDiaNeto = new System.Windows.Forms.Label();
this.btnVentasDia = new System.Windows.Forms.Button();
this.btnVentasMes = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.dgvDia)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvMes)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
@@ -70,13 +77,16 @@
this.dgvDia.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Producto,
this.Precio,
this.precioCompra,
this.Cantidad,
this.Total});
this.Total,
this.totalNeto});
this.dgvDia.Location = new System.Drawing.Point(24, 199);
this.dgvDia.Name = "dgvDia";
this.dgvDia.RowHeadersWidth = 51;
this.dgvDia.Size = new System.Drawing.Size(443, 150);
this.dgvDia.Size = new System.Drawing.Size(599, 150);
this.dgvDia.TabIndex = 1;
this.dgvDia.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDia_CellContentClick);
//
// Producto
//
@@ -84,7 +94,7 @@
this.Producto.MinimumWidth = 6;
this.Producto.Name = "Producto";
this.Producto.ReadOnly = true;
this.Producto.Width = 125;
this.Producto.Width = 250;
//
// Precio
//
@@ -92,7 +102,13 @@
this.Precio.MinimumWidth = 6;
this.Precio.Name = "Precio";
this.Precio.ReadOnly = true;
this.Precio.Width = 125;
this.Precio.Width = 50;
//
// precioCompra
//
this.precioCompra.HeaderText = "Precio Compra";
this.precioCompra.Name = "precioCompra";
this.precioCompra.Width = 50;
//
// Cantidad
//
@@ -100,14 +116,20 @@
this.Cantidad.MinimumWidth = 6;
this.Cantidad.Name = "Cantidad";
this.Cantidad.ReadOnly = true;
this.Cantidad.Width = 125;
this.Cantidad.Width = 50;
//
// Total
//
this.Total.HeaderText = "Total";
this.Total.MinimumWidth = 6;
this.Total.Name = "Total";
this.Total.Width = 125;
this.Total.Width = 70;
//
// totalNeto
//
this.totalNeto.HeaderText = "Total Neto";
this.totalNeto.Name = "totalNeto";
this.totalNeto.Width = 70;
//
// btnBuscar
//
@@ -150,12 +172,14 @@
this.dgvMes.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn1,
this.dataGridViewTextBoxColumn2,
this.PrecioCompraMes,
this.dataGridViewTextBoxColumn3,
this.dataGridViewTextBoxColumn4});
this.dataGridViewTextBoxColumn4,
this.totalNetoMes});
this.dgvMes.Location = new System.Drawing.Point(24, 406);
this.dgvMes.Name = "dgvMes";
this.dgvMes.RowHeadersWidth = 51;
this.dgvMes.Size = new System.Drawing.Size(443, 150);
this.dgvMes.Size = new System.Drawing.Size(599, 150);
this.dgvMes.TabIndex = 5;
//
// dataGridViewTextBoxColumn1
@@ -164,7 +188,7 @@
this.dataGridViewTextBoxColumn1.MinimumWidth = 6;
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.ReadOnly = true;
this.dataGridViewTextBoxColumn1.Width = 125;
this.dataGridViewTextBoxColumn1.Width = 250;
//
// dataGridViewTextBoxColumn2
//
@@ -172,7 +196,13 @@
this.dataGridViewTextBoxColumn2.MinimumWidth = 6;
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
this.dataGridViewTextBoxColumn2.ReadOnly = true;
this.dataGridViewTextBoxColumn2.Width = 125;
this.dataGridViewTextBoxColumn2.Width = 50;
//
// PrecioCompraMes
//
this.PrecioCompraMes.HeaderText = "Precio Compra";
this.PrecioCompraMes.Name = "PrecioCompraMes";
this.PrecioCompraMes.Width = 50;
//
// dataGridViewTextBoxColumn3
//
@@ -180,14 +210,20 @@
this.dataGridViewTextBoxColumn3.MinimumWidth = 6;
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
this.dataGridViewTextBoxColumn3.ReadOnly = true;
this.dataGridViewTextBoxColumn3.Width = 125;
this.dataGridViewTextBoxColumn3.Width = 50;
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.HeaderText = "Total";
this.dataGridViewTextBoxColumn4.MinimumWidth = 6;
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
this.dataGridViewTextBoxColumn4.Width = 125;
this.dataGridViewTextBoxColumn4.Width = 70;
//
// totalNetoMes
//
this.totalNetoMes.HeaderText = "Total Neto";
this.totalNetoMes.Name = "totalNetoMes";
this.totalNetoMes.Width = 70;
//
// lbProductDia
//
@@ -195,7 +231,7 @@
this.lbProductDia.BackColor = System.Drawing.Color.Transparent;
this.lbProductDia.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbProductDia.ForeColor = System.Drawing.Color.Transparent;
this.lbProductDia.Location = new System.Drawing.Point(586, 197);
this.lbProductDia.Location = new System.Drawing.Point(657, 199);
this.lbProductDia.Name = "lbProductDia";
this.lbProductDia.Size = new System.Drawing.Size(153, 17);
this.lbProductDia.TabIndex = 6;
@@ -208,7 +244,7 @@
this.lbVendedorDia.BackColor = System.Drawing.Color.Transparent;
this.lbVendedorDia.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbVendedorDia.ForeColor = System.Drawing.Color.Transparent;
this.lbVendedorDia.Location = new System.Drawing.Point(586, 257);
this.lbVendedorDia.Location = new System.Drawing.Point(657, 261);
this.lbVendedorDia.Name = "lbVendedorDia";
this.lbVendedorDia.Size = new System.Drawing.Size(113, 17);
this.lbVendedorDia.TabIndex = 7;
@@ -233,7 +269,7 @@
this.lbTotalMes.BackColor = System.Drawing.Color.Transparent;
this.lbTotalMes.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbTotalMes.ForeColor = System.Drawing.Color.Transparent;
this.lbTotalMes.Location = new System.Drawing.Point(330, 560);
this.lbTotalMes.Location = new System.Drawing.Point(333, 575);
this.lbTotalMes.Name = "lbTotalMes";
this.lbTotalMes.Size = new System.Drawing.Size(97, 17);
this.lbTotalMes.TabIndex = 9;
@@ -245,7 +281,7 @@
this.lbVendedorMes.BackColor = System.Drawing.Color.Transparent;
this.lbVendedorMes.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbVendedorMes.ForeColor = System.Drawing.Color.Transparent;
this.lbVendedorMes.Location = new System.Drawing.Point(588, 454);
this.lbVendedorMes.Location = new System.Drawing.Point(659, 457);
this.lbVendedorMes.Name = "lbVendedorMes";
this.lbVendedorMes.Size = new System.Drawing.Size(111, 17);
this.lbVendedorMes.TabIndex = 11;
@@ -258,7 +294,7 @@
this.lbProductoMes.BackColor = System.Drawing.Color.Transparent;
this.lbProductoMes.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbProductoMes.ForeColor = System.Drawing.Color.Transparent;
this.lbProductoMes.Location = new System.Drawing.Point(588, 396);
this.lbProductoMes.Location = new System.Drawing.Point(657, 387);
this.lbProductoMes.Name = "lbProductoMes";
this.lbProductoMes.Size = new System.Drawing.Size(153, 17);
this.lbProductoMes.TabIndex = 10;
@@ -271,7 +307,7 @@
this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.pictureBox2.Image = global::compabetov2.Properties.Resources.check1;
this.pictureBox2.Location = new System.Drawing.Point(785, 560);
this.pictureBox2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.pictureBox2.Margin = new System.Windows.Forms.Padding(2);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(75, 56);
this.pictureBox2.TabIndex = 28;
@@ -296,12 +332,44 @@
this.lbMesSEnvio.BackColor = System.Drawing.Color.Transparent;
this.lbMesSEnvio.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbMesSEnvio.ForeColor = System.Drawing.Color.Transparent;
this.lbMesSEnvio.Location = new System.Drawing.Point(270, 577);
this.lbMesSEnvio.Location = new System.Drawing.Point(266, 601);
this.lbMesSEnvio.Name = "lbMesSEnvio";
this.lbMesSEnvio.Size = new System.Drawing.Size(164, 17);
this.lbMesSEnvio.TabIndex = 30;
this.lbMesSEnvio.Text = "Total del mes sin envios:";
//
// lbTotalDiaNeto
//
this.lbTotalDiaNeto.AutoSize = true;
this.lbTotalDiaNeto.BackColor = System.Drawing.Color.Transparent;
this.lbTotalDiaNeto.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbTotalDiaNeto.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
this.lbTotalDiaNeto.Location = new System.Drawing.Point(70, 356);
this.lbTotalDiaNeto.Name = "lbTotalDiaNeto";
this.lbTotalDiaNeto.Size = new System.Drawing.Size(114, 16);
this.lbTotalDiaNeto.TabIndex = 31;
this.lbTotalDiaNeto.Text = "Total neto del dia:";
//
// btnVentasDia
//
this.btnVentasDia.Location = new System.Drawing.Point(876, 232);
this.btnVentasDia.Name = "btnVentasDia";
this.btnVentasDia.Size = new System.Drawing.Size(110, 23);
this.btnVentasDia.TabIndex = 32;
this.btnVentasDia.Text = "Ventas del dia";
this.btnVentasDia.UseVisualStyleBackColor = true;
this.btnVentasDia.Click += new System.EventHandler(this.btnVentasDia_Click);
//
// btnVentasMes
//
this.btnVentasMes.Location = new System.Drawing.Point(876, 421);
this.btnVentasMes.Name = "btnVentasMes";
this.btnVentasMes.Size = new System.Drawing.Size(110, 23);
this.btnVentasMes.TabIndex = 33;
this.btnVentasMes.Text = "Ventas del Mes";
this.btnVentasMes.UseVisualStyleBackColor = true;
this.btnVentasMes.Click += new System.EventHandler(this.btnVentasMes_Click);
//
// Estadiscticas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -309,8 +377,11 @@
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(104)))), ((int)(((byte)(255)))));
this.BackgroundImage = global::compabetov2.Properties.Resources.Form;
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ClientSize = new System.Drawing.Size(955, 627);
this.ClientSize = new System.Drawing.Size(1038, 772);
this.ControlBox = false;
this.Controls.Add(this.btnVentasMes);
this.Controls.Add(this.btnVentasDia);
this.Controls.Add(this.lbTotalDiaNeto);
this.Controls.Add(this.lbMesSEnvio);
this.Controls.Add(this.lbDiaSEnvio);
this.Controls.Add(this.pictureBox2);
@@ -342,18 +413,10 @@
private System.Windows.Forms.DateTimePicker dtpBuscar;
private System.Windows.Forms.DataGridView dgvDia;
private System.Windows.Forms.DataGridViewTextBoxColumn Producto;
private System.Windows.Forms.DataGridViewTextBoxColumn Precio;
private System.Windows.Forms.DataGridViewTextBoxColumn Cantidad;
private System.Windows.Forms.DataGridViewTextBoxColumn Total;
private System.Windows.Forms.Button btnBuscar;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.DataGridView dgvMes;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private System.Windows.Forms.Label lbProductDia;
private System.Windows.Forms.Label lbVendedorDia;
private System.Windows.Forms.Label lbTotalDia;
@@ -363,5 +426,20 @@
private System.Windows.Forms.PictureBox pictureBox2;
private System.Windows.Forms.Label lbDiaSEnvio;
private System.Windows.Forms.Label lbMesSEnvio;
private System.Windows.Forms.DataGridViewTextBoxColumn Producto;
private System.Windows.Forms.DataGridViewTextBoxColumn Precio;
private System.Windows.Forms.DataGridViewTextBoxColumn precioCompra;
private System.Windows.Forms.DataGridViewTextBoxColumn Cantidad;
private System.Windows.Forms.DataGridViewTextBoxColumn Total;
private System.Windows.Forms.DataGridViewTextBoxColumn totalNeto;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn PrecioCompraMes;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn totalNetoMes;
private System.Windows.Forms.Label lbTotalDiaNeto;
private System.Windows.Forms.Button btnVentasDia;
private System.Windows.Forms.Button btnVentasMes;
}
}