From b6b1e69d0fd599c636c78fa32f02c628ca541dde Mon Sep 17 00:00:00 2001 From: fedpo Date: Mon, 2 Dec 2024 16:57:28 +0000 Subject: [PATCH] =?UTF-8?q?a=C3=B1adido=20skeleton=20de=20Informes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FrmInformeFacturaPorFecha.Designer.cs | 39 ++++++ Vista/Informes/FrmInformeFacturaPorFecha.cs | 20 +++ Vista/Informes/FrmInformeFacturaPorFecha.resx | 120 ++++++++++++++++++ .../FrmInformeFacturasPorCliente.Designer.cs | 39 ++++++ .../Informes/FrmInformeFacturasPorCliente.cs | 20 +++ .../FrmInformeFacturasPorCliente.resx | 120 ++++++++++++++++++ ...FrmInformeProductosMasVendidos.Designer.cs | 39 ++++++ .../FrmInformeProductosMasVendidos.cs | 20 +++ .../FrmInformeProductosMasVendidos.resx | 120 ++++++++++++++++++ Vista/PantallaPrincipal.Designer.cs | 1 + Vista/PantallaPrincipal.cs | 11 ++ Vista/Vista.csproj.user | 9 ++ 12 files changed, 558 insertions(+) create mode 100644 Vista/Informes/FrmInformeFacturaPorFecha.Designer.cs create mode 100644 Vista/Informes/FrmInformeFacturaPorFecha.cs create mode 100644 Vista/Informes/FrmInformeFacturaPorFecha.resx create mode 100644 Vista/Informes/FrmInformeFacturasPorCliente.Designer.cs create mode 100644 Vista/Informes/FrmInformeFacturasPorCliente.cs create mode 100644 Vista/Informes/FrmInformeFacturasPorCliente.resx create mode 100644 Vista/Informes/FrmInformeProductosMasVendidos.Designer.cs create mode 100644 Vista/Informes/FrmInformeProductosMasVendidos.cs create mode 100644 Vista/Informes/FrmInformeProductosMasVendidos.resx diff --git a/Vista/Informes/FrmInformeFacturaPorFecha.Designer.cs b/Vista/Informes/FrmInformeFacturaPorFecha.Designer.cs new file mode 100644 index 0000000..99d31cf --- /dev/null +++ b/Vista/Informes/FrmInformeFacturaPorFecha.Designer.cs @@ -0,0 +1,39 @@ +namespace Vista.Informes +{ + partial class FrmInformeFacturaPorFecha + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Text = "FrmInformeFacturaPorFecha"; + } + + #endregion + } +} \ No newline at end of file diff --git a/Vista/Informes/FrmInformeFacturaPorFecha.cs b/Vista/Informes/FrmInformeFacturaPorFecha.cs new file mode 100644 index 0000000..166cede --- /dev/null +++ b/Vista/Informes/FrmInformeFacturaPorFecha.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Vista.Informes +{ + public partial class FrmInformeFacturaPorFecha : Form + { + public FrmInformeFacturaPorFecha() + { + InitializeComponent(); + } + } +} diff --git a/Vista/Informes/FrmInformeFacturaPorFecha.resx b/Vista/Informes/FrmInformeFacturaPorFecha.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Vista/Informes/FrmInformeFacturaPorFecha.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Vista/Informes/FrmInformeFacturasPorCliente.Designer.cs b/Vista/Informes/FrmInformeFacturasPorCliente.Designer.cs new file mode 100644 index 0000000..5ea68d1 --- /dev/null +++ b/Vista/Informes/FrmInformeFacturasPorCliente.Designer.cs @@ -0,0 +1,39 @@ +namespace Vista.Informes +{ + partial class FrmInformeFacturasPorCliente + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Text = "FrmInformeFacturasPorCliente"; + } + + #endregion + } +} \ No newline at end of file diff --git a/Vista/Informes/FrmInformeFacturasPorCliente.cs b/Vista/Informes/FrmInformeFacturasPorCliente.cs new file mode 100644 index 0000000..fa2bb93 --- /dev/null +++ b/Vista/Informes/FrmInformeFacturasPorCliente.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Vista.Informes +{ + public partial class FrmInformeFacturasPorCliente : Form + { + public FrmInformeFacturasPorCliente() + { + InitializeComponent(); + } + } +} diff --git a/Vista/Informes/FrmInformeFacturasPorCliente.resx b/Vista/Informes/FrmInformeFacturasPorCliente.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Vista/Informes/FrmInformeFacturasPorCliente.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Vista/Informes/FrmInformeProductosMasVendidos.Designer.cs b/Vista/Informes/FrmInformeProductosMasVendidos.Designer.cs new file mode 100644 index 0000000..ea4e21e --- /dev/null +++ b/Vista/Informes/FrmInformeProductosMasVendidos.Designer.cs @@ -0,0 +1,39 @@ +namespace Vista.Informes +{ + partial class FrmInformeProductosMasVendidos + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Text = "FrmInformeProductosMasVendidos"; + } + + #endregion + } +} \ No newline at end of file diff --git a/Vista/Informes/FrmInformeProductosMasVendidos.cs b/Vista/Informes/FrmInformeProductosMasVendidos.cs new file mode 100644 index 0000000..e1d1615 --- /dev/null +++ b/Vista/Informes/FrmInformeProductosMasVendidos.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Vista.Informes +{ + public partial class FrmInformeProductosMasVendidos : Form + { + public FrmInformeProductosMasVendidos() + { + InitializeComponent(); + } + } +} diff --git a/Vista/Informes/FrmInformeProductosMasVendidos.resx b/Vista/Informes/FrmInformeProductosMasVendidos.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Vista/Informes/FrmInformeProductosMasVendidos.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Vista/PantallaPrincipal.Designer.cs b/Vista/PantallaPrincipal.Designer.cs index a525150..7438dab 100644 --- a/Vista/PantallaPrincipal.Designer.cs +++ b/Vista/PantallaPrincipal.Designer.cs @@ -146,6 +146,7 @@ facturasPorFechaToolStripMenuItem.Name = "facturasPorFechaToolStripMenuItem"; facturasPorFechaToolStripMenuItem.Size = new Size(194, 22); facturasPorFechaToolStripMenuItem.Text = "Facturas Por Fecha"; + facturasPorFechaToolStripMenuItem.Click += facturasPorFechaToolStripMenuItem_Click; // // facturasPorClienteToolStripMenuItem // diff --git a/Vista/PantallaPrincipal.cs b/Vista/PantallaPrincipal.cs index a8a94b7..83b1e8e 100644 --- a/Vista/PantallaPrincipal.cs +++ b/Vista/PantallaPrincipal.cs @@ -112,5 +112,16 @@ namespace Vista Frm.MdiParent = this; Frm.Show(); } + + private void facturasPorFechaToolStripMenuItem_Click(object sender, EventArgs e) + { + if (ActiveMdiChild != null) + { + ActiveMdiChild.Close(); + } + var Frm = new FrmCategorias(); + Frm.MdiParent = this; + Frm.Show(); + } } } \ No newline at end of file diff --git a/Vista/Vista.csproj.user b/Vista/Vista.csproj.user index 3384621..b0cd3a8 100644 --- a/Vista/Vista.csproj.user +++ b/Vista/Vista.csproj.user @@ -50,6 +50,15 @@ Form + + Form + + + Form + + + Form + Form