Descargo Cambios de CARLOS010224

This commit is contained in:
Michael Robles
2024-02-01 22:49:55 -07:00
22 changed files with 730 additions and 144 deletions
+238 -77
View File
@@ -28,105 +28,254 @@
/// </summary>
private void InitializeComponent()
{
this.dtpBuscar = new System.Windows.Forms.DateTimePicker();
this.dgvDia = new System.Windows.Forms.DataGridView();
this.Producto = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Precio = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Cantidad = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Total = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.btnBuscar = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
this.button1 = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.dgvMes = new System.Windows.Forms.DataGridView();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = 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();
this.lbTotalMes = new System.Windows.Forms.Label();
this.lbVendedorMes = new System.Windows.Forms.Label();
this.lbProductoMes = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.dgvDia)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvMes)).BeginInit();
this.SuspendLayout();
//
// dtpBuscar
//
this.dtpBuscar.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.dtpBuscar.Location = new System.Drawing.Point(16, 15);
this.dtpBuscar.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.dtpBuscar.Name = "dtpBuscar";
this.dtpBuscar.Size = new System.Drawing.Size(341, 26);
this.dtpBuscar.TabIndex = 0;
//
// dgvDia
//
this.dgvDia.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvDia.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Producto,
this.Precio,
this.Cantidad,
this.Total});
this.dgvDia.Location = new System.Drawing.Point(12, 69);
this.dgvDia.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.dgvDia.Name = "dgvDia";
this.dgvDia.RowHeadersWidth = 51;
this.dgvDia.Size = new System.Drawing.Size(591, 185);
this.dgvDia.TabIndex = 1;
//
// Producto
//
this.Producto.HeaderText = "Producto";
this.Producto.MinimumWidth = 6;
this.Producto.Name = "Producto";
this.Producto.ReadOnly = true;
this.Producto.Width = 125;
//
// Precio
//
this.Precio.HeaderText = "Precio";
this.Precio.MinimumWidth = 6;
this.Precio.Name = "Precio";
this.Precio.ReadOnly = true;
this.Precio.Width = 125;
//
// Cantidad
//
this.Cantidad.HeaderText = "Cantidad";
this.Cantidad.MinimumWidth = 6;
this.Cantidad.Name = "Cantidad";
this.Cantidad.ReadOnly = true;
this.Cantidad.Width = 125;
//
// Total
//
this.Total.HeaderText = "Total";
this.Total.MinimumWidth = 6;
this.Total.Name = "Total";
this.Total.Width = 125;
//
// btnBuscar
//
this.btnBuscar.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnBuscar.Location = new System.Drawing.Point(399, 14);
this.btnBuscar.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.btnBuscar.Name = "btnBuscar";
this.btnBuscar.Size = new System.Drawing.Size(100, 28);
this.btnBuscar.TabIndex = 2;
this.btnBuscar.Text = "Buscar";
this.btnBuscar.UseVisualStyleBackColor = true;
this.btnBuscar.Click += new System.EventHandler(this.btnBuscar_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(329, 93);
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(16, 46);
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(178, 16);
this.label1.TabIndex = 0;
this.label1.Text = "Selector de fecha con el filtro";
//
// dateTimePicker1
//
this.dateTimePicker1.Location = new System.Drawing.Point(323, 122);
this.dateTimePicker1.Name = "dateTimePicker1";
this.dateTimePicker1.Size = new System.Drawing.Size(200, 22);
this.dateTimePicker1.TabIndex = 1;
//
// button1
//
this.button1.Location = new System.Drawing.Point(547, 122);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(147, 23);
this.button1.TabIndex = 2;
this.button1.Text = "Buscar";
this.button1.UseVisualStyleBackColor = true;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Location = new System.Drawing.Point(220, 175);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(728, 138);
this.groupBox1.TabIndex = 3;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "groupBox1";
this.label1.Size = new System.Drawing.Size(134, 20);
this.label1.TabIndex = 3;
this.label1.Text = "Resumen del dia";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(215, 64);
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.Location = new System.Drawing.Point(20, 330);
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(226, 16);
this.label2.Size = new System.Drawing.Size(144, 20);
this.label2.TabIndex = 4;
this.label2.Text = "Aquí mostrar las ventas del dia fijado";
this.label2.Text = "Resumen del mes";
//
// label3
// dgvMes
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(1101, 129);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(178, 16);
this.label3.TabIndex = 5;
this.label3.Text = "Producto que mas se vendio";
this.dgvMes.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvMes.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn1,
this.dataGridViewTextBoxColumn2,
this.dataGridViewTextBoxColumn3,
this.dataGridViewTextBoxColumn4});
this.dgvMes.Location = new System.Drawing.Point(16, 354);
this.dgvMes.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.dgvMes.Name = "dgvMes";
this.dgvMes.RowHeadersWidth = 51;
this.dgvMes.Size = new System.Drawing.Size(591, 185);
this.dgvMes.TabIndex = 5;
//
// label4
// dataGridViewTextBoxColumn1
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(1101, 221);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(157, 16);
this.label4.TabIndex = 6;
this.label4.Text = "Persona que mas vendió";
this.dataGridViewTextBoxColumn1.HeaderText = "Producto";
this.dataGridViewTextBoxColumn1.MinimumWidth = 6;
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.ReadOnly = true;
this.dataGridViewTextBoxColumn1.Width = 125;
//
// label5
// dataGridViewTextBoxColumn2
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(1101, 318);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(164, 16);
this.label5.TabIndex = 7;
this.label5.Text = "Promedio de ventas al dia";
this.label5.Click += new System.EventHandler(this.label5_Click);
this.dataGridViewTextBoxColumn2.HeaderText = "Precio";
this.dataGridViewTextBoxColumn2.MinimumWidth = 6;
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
this.dataGridViewTextBoxColumn2.ReadOnly = true;
this.dataGridViewTextBoxColumn2.Width = 125;
//
// dataGridViewTextBoxColumn3
//
this.dataGridViewTextBoxColumn3.HeaderText = "Cantidad";
this.dataGridViewTextBoxColumn3.MinimumWidth = 6;
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
this.dataGridViewTextBoxColumn3.ReadOnly = true;
this.dataGridViewTextBoxColumn3.Width = 125;
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.HeaderText = "Total";
this.dataGridViewTextBoxColumn4.MinimumWidth = 6;
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
this.dataGridViewTextBoxColumn4.Width = 125;
//
// lbProductDia
//
this.lbProductDia.AutoSize = true;
this.lbProductDia.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbProductDia.Location = new System.Drawing.Point(669, 110);
this.lbProductDia.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbProductDia.Name = "lbProductDia";
this.lbProductDia.Size = new System.Drawing.Size(180, 20);
this.lbProductDia.TabIndex = 6;
this.lbProductDia.Text = "Producto mas vendido:";
//
// lbVendedorDia
//
this.lbVendedorDia.AutoSize = true;
this.lbVendedorDia.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbVendedorDia.Location = new System.Drawing.Point(669, 183);
this.lbVendedorDia.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbVendedorDia.Name = "lbVendedorDia";
this.lbVendedorDia.Size = new System.Drawing.Size(132, 20);
this.lbVendedorDia.TabIndex = 7;
this.lbVendedorDia.Text = "Mejor vendedos:";
//
// lbTotalDia
//
this.lbTotalDia.AutoSize = true;
this.lbTotalDia.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbTotalDia.Location = new System.Drawing.Point(424, 262);
this.lbTotalDia.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbTotalDia.Name = "lbTotalDia";
this.lbTotalDia.Size = new System.Drawing.Size(105, 20);
this.lbTotalDia.TabIndex = 8;
this.lbTotalDia.Text = "Total del dia:";
//
// lbTotalMes
//
this.lbTotalMes.AutoSize = true;
this.lbTotalMes.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbTotalMes.Location = new System.Drawing.Point(424, 543);
this.lbTotalMes.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbTotalMes.Name = "lbTotalMes";
this.lbTotalMes.Size = new System.Drawing.Size(115, 20);
this.lbTotalMes.TabIndex = 9;
this.lbTotalMes.Text = "Total del Mes:";
//
// lbVendedorMes
//
this.lbVendedorMes.AutoSize = true;
this.lbVendedorMes.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbVendedorMes.Location = new System.Drawing.Point(669, 471);
this.lbVendedorMes.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbVendedorMes.Name = "lbVendedorMes";
this.lbVendedorMes.Size = new System.Drawing.Size(132, 20);
this.lbVendedorMes.TabIndex = 11;
this.lbVendedorMes.Text = "Mejor vendedos:";
//
// lbProductoMes
//
this.lbProductoMes.AutoSize = true;
this.lbProductoMes.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbProductoMes.Location = new System.Drawing.Point(669, 399);
this.lbProductoMes.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbProductoMes.Name = "lbProductoMes";
this.lbProductoMes.Size = new System.Drawing.Size(180, 20);
this.lbProductoMes.TabIndex = 10;
this.lbProductoMes.Text = "Producto mas vendido:";
//
// Estadiscticas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1397, 730);
this.Controls.Add(this.label5);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.button1);
this.Controls.Add(this.dateTimePicker1);
this.ClientSize = new System.Drawing.Size(1067, 593);
this.Controls.Add(this.lbVendedorMes);
this.Controls.Add(this.lbProductoMes);
this.Controls.Add(this.lbTotalMes);
this.Controls.Add(this.lbTotalDia);
this.Controls.Add(this.lbVendedorDia);
this.Controls.Add(this.lbProductDia);
this.Controls.Add(this.dgvMes);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.btnBuscar);
this.Controls.Add(this.dgvDia);
this.Controls.Add(this.dtpBuscar);
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.Name = "Estadiscticas";
this.Text = "Estadiscticas";
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.Load += new System.EventHandler(this.Estadiscticas_Load);
((System.ComponentModel.ISupportInitialize)(this.dgvDia)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvMes)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -134,13 +283,25 @@
#endregion
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.DateTimePicker dateTimePicker1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
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;
private System.Windows.Forms.Label lbTotalMes;
private System.Windows.Forms.Label lbVendedorMes;
private System.Windows.Forms.Label lbProductoMes;
}
}