diff --git a/MenuPrincipal.Designer.cs b/MenuPrincipal.Designer.cs index 042d668..d460054 100644 --- a/MenuPrincipal.Designer.cs +++ b/MenuPrincipal.Designer.cs @@ -30,6 +30,9 @@ { this.components = new System.ComponentModel.Container(); this.panel1 = new System.Windows.Forms.Panel(); + this.lblhora = new System.Windows.Forms.Label(); + this.lblfecha = new System.Windows.Forms.Label(); + this.horafecha = new System.Windows.Forms.Timer(this.components); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.panel2 = new System.Windows.Forms.Panel(); this.pictureBox7 = new System.Windows.Forms.PictureBox(); @@ -44,9 +47,6 @@ this.pictureBox3 = new System.Windows.Forms.PictureBox(); this.pictureBox2 = new System.Windows.Forms.PictureBox(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.lblhora = new System.Windows.Forms.Label(); - this.lblfecha = new System.Windows.Forms.Label(); - this.horafecha = new System.Windows.Forms.Timer(this.components); this.panel1.SuspendLayout(); this.flowLayoutPanel1.SuspendLayout(); this.panel2.SuspendLayout(); @@ -77,6 +77,34 @@ this.panel1.Size = new System.Drawing.Size(1924, 1055); this.panel1.TabIndex = 4; // + // lblhora + // + this.lblhora.AutoSize = true; + this.lblhora.Font = new System.Drawing.Font("Poppins SemiBold", 60F); + this.lblhora.ForeColor = System.Drawing.Color.MediumBlue; + this.lblhora.Location = new System.Drawing.Point(963, -6); + this.lblhora.Name = "lblhora"; + this.lblhora.Size = new System.Drawing.Size(365, 177); + this.lblhora.TabIndex = 8; + this.lblhora.Text = "label1"; + // + // lblfecha + // + this.lblfecha.AutoSize = true; + this.lblfecha.Font = new System.Drawing.Font("Poppins SemiBold", 30F); + this.lblfecha.ForeColor = System.Drawing.Color.Navy; + this.lblfecha.Location = new System.Drawing.Point(776, 112); + this.lblfecha.Name = "lblfecha"; + this.lblfecha.Size = new System.Drawing.Size(193, 88); + this.lblfecha.TabIndex = 9; + this.lblfecha.Text = "label2"; + this.lblfecha.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // horafecha + // + this.horafecha.Enabled = true; + this.horafecha.Tick += new System.EventHandler(this.horafecha_Tick); + // // flowLayoutPanel1 // this.flowLayoutPanel1.BackgroundImage = global::compabetov2.Properties.Resources.rec; @@ -195,21 +223,23 @@ this.button5.TabIndex = 12; this.button5.Text = "Salir"; this.button5.UseVisualStyleBackColor = false; + this.button5.Click += new System.EventHandler(this.button5_Click); // // pictureBox4 // this.pictureBox4.Image = global::compabetov2.Properties.Resources.inventario; - this.pictureBox4.Location = new System.Drawing.Point(1450, 666); + this.pictureBox4.Location = new System.Drawing.Point(1450, 603); this.pictureBox4.Name = "pictureBox4"; this.pictureBox4.Size = new System.Drawing.Size(293, 282); this.pictureBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox4.TabIndex = 6; this.pictureBox4.TabStop = false; + this.pictureBox4.Click += new System.EventHandler(this.pictureBox4_Click); // // pictureBox5 // this.pictureBox5.Image = global::compabetov2.Properties.Resources.Cuentas; - this.pictureBox5.Location = new System.Drawing.Point(584, 666); + this.pictureBox5.Location = new System.Drawing.Point(584, 603); this.pictureBox5.Name = "pictureBox5"; this.pictureBox5.Size = new System.Drawing.Size(293, 282); this.pictureBox5.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; @@ -219,7 +249,7 @@ // pictureBox6 // this.pictureBox6.Image = global::compabetov2.Properties.Resources.mermas; - this.pictureBox6.Location = new System.Drawing.Point(1014, 666); + this.pictureBox6.Location = new System.Drawing.Point(1014, 603); this.pictureBox6.Name = "pictureBox6"; this.pictureBox6.Size = new System.Drawing.Size(293, 282); this.pictureBox6.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; @@ -256,34 +286,6 @@ this.pictureBox1.TabIndex = 1; this.pictureBox1.TabStop = false; // - // lblhora - // - this.lblhora.AutoSize = true; - this.lblhora.Font = new System.Drawing.Font("Poppins SemiBold", 60F); - this.lblhora.ForeColor = System.Drawing.Color.MediumBlue; - this.lblhora.Location = new System.Drawing.Point(975, -6); - this.lblhora.Name = "lblhora"; - this.lblhora.Size = new System.Drawing.Size(365, 177); - this.lblhora.TabIndex = 8; - this.lblhora.Text = "label1"; - // - // lblfecha - // - this.lblfecha.AutoSize = true; - this.lblfecha.Font = new System.Drawing.Font("Poppins SemiBold", 30F); - this.lblfecha.ForeColor = System.Drawing.Color.Navy; - this.lblfecha.Location = new System.Drawing.Point(776, 112); - this.lblfecha.Name = "lblfecha"; - this.lblfecha.Size = new System.Drawing.Size(193, 88); - this.lblfecha.TabIndex = 9; - this.lblfecha.Text = "label2"; - this.lblfecha.TextAlign = System.Drawing.ContentAlignment.TopCenter; - // - // horafecha - // - this.horafecha.Enabled = true; - this.horafecha.Tick += new System.EventHandler(this.horafecha_Tick); - // // MenuPrincipal // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); diff --git a/MenuPrincipal.cs b/MenuPrincipal.cs index 6067afd..2b216b8 100644 --- a/MenuPrincipal.cs +++ b/MenuPrincipal.cs @@ -50,5 +50,22 @@ namespace compabetov2 lblfecha.Text = DateTime.Now.ToLongDateString(); } + + private void button5_Click(object sender, EventArgs e) + { + this.Dispose(); + + login login = new login(); + login.Show(); + } + + private void pictureBox4_Click(object sender, EventArgs e) + { + inventario inventario = new inventario(); + inventario.Show(); + + this.Dispose(true); + + } } } diff --git a/bin/Debug/compabetov2.exe b/bin/Debug/compabetov2.exe index 50aa0b1..d539037 100644 Binary files a/bin/Debug/compabetov2.exe and b/bin/Debug/compabetov2.exe differ diff --git a/bin/Debug/compabetov2.pdb b/bin/Debug/compabetov2.pdb index c7b4205..c19e04b 100644 Binary files a/bin/Debug/compabetov2.pdb and b/bin/Debug/compabetov2.pdb differ diff --git a/compabetov2.csproj b/compabetov2.csproj index 4c9c8a6..5012fbb 100644 --- a/compabetov2.csproj +++ b/compabetov2.csproj @@ -65,12 +65,24 @@ + + Form + + + cuentas.cs + + + Form + + + inventario.cs + Form @@ -83,14 +95,44 @@ MenuPrincipal.cs + + Form + + + mermas.cs + + + Form + + + personal.cs + + + Form + + + vender.cs + + + cuentas.cs + + + inventario.cs + login.cs MenuPrincipal.cs + + mermas.cs + + + personal.cs + ResXFileCodeGenerator Resources.Designer.cs @@ -101,6 +143,9 @@ Resources.resx True + + vender.cs + SettingsSingleFileGenerator diff --git a/cuentas.Designer.cs b/cuentas.Designer.cs new file mode 100644 index 0000000..a86f79c --- /dev/null +++ b/cuentas.Designer.cs @@ -0,0 +1,47 @@ +namespace compabetov2 +{ + partial class cuentas + { + /// + /// 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.SuspendLayout(); + // + // cuentas + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1924, 1055); + this.Name = "cuentas"; + this.Text = "cuentas"; + this.WindowState = System.Windows.Forms.FormWindowState.Maximized; + this.ResumeLayout(false); + + } + + #endregion + } +} \ No newline at end of file diff --git a/cuentas.cs b/cuentas.cs new file mode 100644 index 0000000..a54cbb3 --- /dev/null +++ b/cuentas.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 compabetov2 +{ + public partial class cuentas : Form + { + public cuentas() + { + InitializeComponent(); + } + } +} diff --git a/cuentas.resx b/cuentas.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/cuentas.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/inventario.Designer.cs b/inventario.Designer.cs new file mode 100644 index 0000000..931040e --- /dev/null +++ b/inventario.Designer.cs @@ -0,0 +1,380 @@ +namespace compabetov2 +{ + partial class inventario + { + /// + /// 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.lblfecha = new System.Windows.Forms.Label(); + this.lblhora = new System.Windows.Forms.Label(); + this.txtnombreproducto = new System.Windows.Forms.TextBox(); + this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); + this.panel2 = new System.Windows.Forms.Panel(); + this.pictureBox7 = new System.Windows.Forms.PictureBox(); + this.button1 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.button3 = new System.Windows.Forms.Button(); + this.button4 = new System.Windows.Forms.Button(); + this.button5 = new System.Windows.Forms.Button(); + this.txtprecioproducto = new System.Windows.Forms.TextBox(); + this.txtstockproducto = new System.Windows.Forms.TextBox(); + this.txtdescripcionproducto = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.button6 = new System.Windows.Forms.Button(); + this.button7 = new System.Windows.Forms.Button(); + this.button8 = new System.Windows.Forms.Button(); + this.button9 = new System.Windows.Forms.Button(); + this.flowLayoutPanel1.SuspendLayout(); + this.panel2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit(); + this.SuspendLayout(); + // + // lblfecha + // + this.lblfecha.AutoSize = true; + this.lblfecha.Font = new System.Drawing.Font("Poppins SemiBold", 30F); + this.lblfecha.ForeColor = System.Drawing.Color.Navy; + this.lblfecha.Location = new System.Drawing.Point(747, 127); + this.lblfecha.Name = "lblfecha"; + this.lblfecha.Size = new System.Drawing.Size(193, 88); + this.lblfecha.TabIndex = 11; + this.lblfecha.Text = "label2"; + this.lblfecha.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // lblhora + // + this.lblhora.AutoSize = true; + this.lblhora.Font = new System.Drawing.Font("Poppins SemiBold", 60F); + this.lblhora.ForeColor = System.Drawing.Color.MediumBlue; + this.lblhora.Location = new System.Drawing.Point(934, 9); + this.lblhora.Name = "lblhora"; + this.lblhora.Size = new System.Drawing.Size(365, 177); + this.lblhora.TabIndex = 10; + this.lblhora.Text = "label1"; + // + // txtnombreproducto + // + this.txtnombreproducto.Font = new System.Drawing.Font("Poppins", 25F); + this.txtnombreproducto.Location = new System.Drawing.Point(497, 350); + this.txtnombreproducto.Name = "txtnombreproducto"; + this.txtnombreproducto.Size = new System.Drawing.Size(480, 70); + this.txtnombreproducto.TabIndex = 12; + // + // flowLayoutPanel1 + // + this.flowLayoutPanel1.BackgroundImage = global::compabetov2.Properties.Resources.rec; + this.flowLayoutPanel1.Controls.Add(this.panel2); + this.flowLayoutPanel1.Controls.Add(this.button1); + this.flowLayoutPanel1.Controls.Add(this.button2); + this.flowLayoutPanel1.Controls.Add(this.button3); + this.flowLayoutPanel1.Controls.Add(this.button4); + this.flowLayoutPanel1.Controls.Add(this.button5); + this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0); + this.flowLayoutPanel1.Name = "flowLayoutPanel1"; + this.flowLayoutPanel1.Size = new System.Drawing.Size(324, 1061); + this.flowLayoutPanel1.TabIndex = 8; + // + // panel2 + // + this.panel2.BackColor = System.Drawing.Color.Transparent; + this.panel2.Controls.Add(this.pictureBox7); + this.panel2.Location = new System.Drawing.Point(3, 3); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(312, 263); + this.panel2.TabIndex = 8; + // + // pictureBox7 + // + this.pictureBox7.Image = global::compabetov2.Properties.Resources.HomeroMenu; + this.pictureBox7.Location = new System.Drawing.Point(64, 35); + this.pictureBox7.Name = "pictureBox7"; + this.pictureBox7.Size = new System.Drawing.Size(190, 197); + this.pictureBox7.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; + this.pictureBox7.TabIndex = 8; + this.pictureBox7.TabStop = false; + // + // button1 + // + this.button1.BackColor = System.Drawing.Color.Transparent; + this.button1.FlatAppearance.BorderSize = 0; + this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button1.Font = new System.Drawing.Font("Poppins SemiBold", 15F); + this.button1.ForeColor = System.Drawing.SystemColors.ButtonHighlight; + this.button1.Image = global::compabetov2.Properties.Resources.Menui1; + this.button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.button1.Location = new System.Drawing.Point(3, 272); + this.button1.Name = "button1"; + this.button1.Padding = new System.Windows.Forms.Padding(50, 0, 0, 0); + this.button1.Size = new System.Drawing.Size(312, 115); + this.button1.TabIndex = 8; + this.button1.Text = "Menú"; + this.button1.UseVisualStyleBackColor = false; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // button2 + // + this.button2.BackColor = System.Drawing.Color.Transparent; + this.button2.FlatAppearance.BorderSize = 0; + this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button2.Font = new System.Drawing.Font("Poppins SemiBold", 15F); + this.button2.ForeColor = System.Drawing.SystemColors.ButtonHighlight; + this.button2.Image = global::compabetov2.Properties.Resources.estadisticasi; + this.button2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.button2.Location = new System.Drawing.Point(3, 393); + this.button2.Name = "button2"; + this.button2.Padding = new System.Windows.Forms.Padding(50, 0, 0, 0); + this.button2.Size = new System.Drawing.Size(312, 115); + this.button2.TabIndex = 9; + this.button2.Text = "Estadisticas"; + this.button2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.button2.UseVisualStyleBackColor = false; + // + // button3 + // + this.button3.BackColor = System.Drawing.Color.Transparent; + this.button3.FlatAppearance.BorderSize = 0; + this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button3.Font = new System.Drawing.Font("Poppins SemiBold", 15F); + this.button3.ForeColor = System.Drawing.SystemColors.ButtonHighlight; + this.button3.Image = global::compabetov2.Properties.Resources.productoi; + this.button3.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.button3.Location = new System.Drawing.Point(3, 514); + this.button3.Name = "button3"; + this.button3.Padding = new System.Windows.Forms.Padding(50, 0, 0, 0); + this.button3.Size = new System.Drawing.Size(312, 115); + this.button3.TabIndex = 10; + this.button3.Text = "Productos"; + this.button3.UseVisualStyleBackColor = false; + // + // button4 + // + this.button4.BackColor = System.Drawing.Color.Transparent; + this.button4.FlatAppearance.BorderSize = 0; + this.button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button4.Font = new System.Drawing.Font("Poppins SemiBold", 15F); + this.button4.ForeColor = System.Drawing.SystemColors.ButtonHighlight; + this.button4.Image = global::compabetov2.Properties.Resources.reportesi; + this.button4.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.button4.Location = new System.Drawing.Point(3, 635); + this.button4.Name = "button4"; + this.button4.Padding = new System.Windows.Forms.Padding(50, 0, 0, 0); + this.button4.Size = new System.Drawing.Size(312, 115); + this.button4.TabIndex = 11; + this.button4.Text = "Reportes"; + this.button4.UseVisualStyleBackColor = false; + // + // button5 + // + this.button5.BackColor = System.Drawing.Color.Transparent; + this.button5.FlatAppearance.BorderSize = 0; + this.button5.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button5.Font = new System.Drawing.Font("Poppins SemiBold", 15F); + this.button5.ForeColor = System.Drawing.SystemColors.ButtonHighlight; + this.button5.Image = global::compabetov2.Properties.Resources.sesionc; + this.button5.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.button5.Location = new System.Drawing.Point(3, 756); + this.button5.Name = "button5"; + this.button5.Padding = new System.Windows.Forms.Padding(50, 0, 0, 0); + this.button5.Size = new System.Drawing.Size(312, 115); + this.button5.TabIndex = 12; + this.button5.Text = "Salir"; + this.button5.UseVisualStyleBackColor = false; + // + // txtprecioproducto + // + this.txtprecioproducto.Font = new System.Drawing.Font("Poppins", 25F); + this.txtprecioproducto.Location = new System.Drawing.Point(1031, 350); + this.txtprecioproducto.Name = "txtprecioproducto"; + this.txtprecioproducto.Size = new System.Drawing.Size(171, 70); + this.txtprecioproducto.TabIndex = 13; + // + // txtstockproducto + // + this.txtstockproducto.Font = new System.Drawing.Font("Poppins", 25F); + this.txtstockproducto.Location = new System.Drawing.Point(1239, 350); + this.txtstockproducto.Name = "txtstockproducto"; + this.txtstockproducto.Size = new System.Drawing.Size(171, 70); + this.txtstockproducto.TabIndex = 14; + // + // txtdescripcionproducto + // + this.txtdescripcionproducto.Font = new System.Drawing.Font("Poppins", 25F); + this.txtdescripcionproducto.Location = new System.Drawing.Point(497, 502); + this.txtdescripcionproducto.Multiline = true; + this.txtdescripcionproducto.Name = "txtdescripcionproducto"; + this.txtdescripcionproducto.Size = new System.Drawing.Size(705, 443); + this.txtdescripcionproducto.TabIndex = 15; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Poppins SemiBold", 20F); + this.label1.ForeColor = System.Drawing.Color.Navy; + this.label1.Location = new System.Drawing.Point(497, 287); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(394, 60); + this.label1.TabIndex = 16; + this.label1.Text = "Nombre del producto"; + this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Poppins SemiBold", 20F); + this.label2.ForeColor = System.Drawing.Color.Navy; + this.label2.Location = new System.Drawing.Point(1021, 272); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(132, 60); + this.label2.TabIndex = 17; + this.label2.Text = "Precio"; + this.label2.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Poppins SemiBold", 20F); + this.label3.ForeColor = System.Drawing.Color.Navy; + this.label3.Location = new System.Drawing.Point(1229, 272); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(121, 60); + this.label3.TabIndex = 18; + this.label3.Text = "Stock"; + this.label3.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Font = new System.Drawing.Font("Poppins SemiBold", 20F); + this.label4.ForeColor = System.Drawing.Color.Navy; + this.label4.Location = new System.Drawing.Point(497, 439); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(456, 60); + this.label4.TabIndex = 19; + this.label4.Text = "Descripción del producto"; + this.label4.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // button6 + // + this.button6.Font = new System.Drawing.Font("Poppins SemiBold", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button6.Location = new System.Drawing.Point(1239, 502); + this.button6.Name = "button6"; + this.button6.Size = new System.Drawing.Size(171, 70); + this.button6.TabIndex = 20; + this.button6.Text = "Agregar"; + this.button6.UseVisualStyleBackColor = true; + this.button6.Click += new System.EventHandler(this.button6_Click); + // + // button7 + // + this.button7.Font = new System.Drawing.Font("Poppins SemiBold", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button7.Location = new System.Drawing.Point(1239, 622); + this.button7.Name = "button7"; + this.button7.Size = new System.Drawing.Size(171, 70); + this.button7.TabIndex = 21; + this.button7.Text = "Buscar"; + this.button7.UseVisualStyleBackColor = true; + // + // button8 + // + this.button8.Font = new System.Drawing.Font("Poppins SemiBold", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button8.Location = new System.Drawing.Point(1239, 756); + this.button8.Name = "button8"; + this.button8.Size = new System.Drawing.Size(171, 70); + this.button8.TabIndex = 22; + this.button8.Text = "Editar"; + this.button8.UseVisualStyleBackColor = true; + // + // button9 + // + this.button9.Font = new System.Drawing.Font("Poppins SemiBold", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button9.Location = new System.Drawing.Point(1239, 875); + this.button9.Name = "button9"; + this.button9.Size = new System.Drawing.Size(171, 70); + this.button9.TabIndex = 23; + this.button9.Text = "Eliminar"; + this.button9.UseVisualStyleBackColor = true; + // + // inventario + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1924, 1055); + this.Controls.Add(this.button9); + this.Controls.Add(this.button8); + this.Controls.Add(this.button7); + this.Controls.Add(this.button6); + this.Controls.Add(this.label4); + this.Controls.Add(this.label3); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Controls.Add(this.txtdescripcionproducto); + this.Controls.Add(this.txtstockproducto); + this.Controls.Add(this.txtprecioproducto); + this.Controls.Add(this.txtnombreproducto); + this.Controls.Add(this.lblfecha); + this.Controls.Add(this.lblhora); + this.Controls.Add(this.flowLayoutPanel1); + this.Name = "inventario"; + this.Text = "inventario"; + this.WindowState = System.Windows.Forms.FormWindowState.Maximized; + this.flowLayoutPanel1.ResumeLayout(false); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.PictureBox pictureBox7; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.Button button3; + private System.Windows.Forms.Button button4; + private System.Windows.Forms.Button button5; + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; + private System.Windows.Forms.Label lblfecha; + private System.Windows.Forms.Label lblhora; + private System.Windows.Forms.TextBox txtnombreproducto; + private System.Windows.Forms.TextBox txtprecioproducto; + private System.Windows.Forms.TextBox txtstockproducto; + private System.Windows.Forms.TextBox txtdescripcionproducto; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Button button6; + private System.Windows.Forms.Button button7; + private System.Windows.Forms.Button button8; + private System.Windows.Forms.Button button9; + } +} \ No newline at end of file diff --git a/inventario.cs b/inventario.cs new file mode 100644 index 0000000..2933d69 --- /dev/null +++ b/inventario.cs @@ -0,0 +1,38 @@ +using compabetov2.database; +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 compabetov2 +{ + public partial class inventario : Form + { + public inventario() + { + InitializeComponent(); + } + + private void button1_Click(object sender, EventArgs e) + { + MenuPrincipal menuPrincipal = new MenuPrincipal(); + menuPrincipal.Show(); + + this.Dispose(); + + } + + private void button6_Click(object sender, EventArgs e) + { + if (service.insertarProducto(new database.modelos.Producto(0,txtnombreproducto.Text, txtdescripcionproducto.Text, decimal.Parse(txtprecioproducto.Text),txtstockproducto.Text))) { + + + } + } + } +} diff --git a/inventario.resx b/inventario.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/inventario.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/mermas.Designer.cs b/mermas.Designer.cs new file mode 100644 index 0000000..9b30aff --- /dev/null +++ b/mermas.Designer.cs @@ -0,0 +1,47 @@ +namespace compabetov2 +{ + partial class mermas + { + /// + /// 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.SuspendLayout(); + // + // mermas + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1924, 1055); + this.Name = "mermas"; + this.Text = "mermas"; + this.WindowState = System.Windows.Forms.FormWindowState.Maximized; + this.ResumeLayout(false); + + } + + #endregion + } +} \ No newline at end of file diff --git a/mermas.cs b/mermas.cs new file mode 100644 index 0000000..548818f --- /dev/null +++ b/mermas.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 compabetov2 +{ + public partial class mermas : Form + { + public mermas() + { + InitializeComponent(); + } + } +} diff --git a/mermas.resx b/mermas.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/mermas.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/obj/Debug/compabetov2.csproj.AssemblyReference.cache b/obj/Debug/compabetov2.csproj.AssemblyReference.cache index 1367df0..314837d 100644 Binary files a/obj/Debug/compabetov2.csproj.AssemblyReference.cache and b/obj/Debug/compabetov2.csproj.AssemblyReference.cache differ diff --git a/obj/Debug/compabetov2.csproj.CoreCompileInputs.cache b/obj/Debug/compabetov2.csproj.CoreCompileInputs.cache index cb2cdc3..82bdfcd 100644 --- a/obj/Debug/compabetov2.csproj.CoreCompileInputs.cache +++ b/obj/Debug/compabetov2.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -245f61b4e520a1fb9e0e2f4a53e49df7efd978ab +5f84ca15ab0cf8658a0603f2d37cc1ef407c340f diff --git a/obj/Debug/compabetov2.csproj.FileListAbsolute.txt b/obj/Debug/compabetov2.csproj.FileListAbsolute.txt index cbe0884..9c9e734 100644 --- a/obj/Debug/compabetov2.csproj.FileListAbsolute.txt +++ b/obj/Debug/compabetov2.csproj.FileListAbsolute.txt @@ -38,3 +38,8 @@ C:\Users\carsu\Source\Repos\compabetoOG\obj\Debug\compabetov2.csproj.CoreCompile C:\Users\carsu\Source\Repos\compabetoOG\obj\Debug\compabetov2.csproj.CopyComplete C:\Users\carsu\Source\Repos\compabetoOG\obj\Debug\compabetov2.exe C:\Users\carsu\Source\Repos\compabetoOG\obj\Debug\compabetov2.pdb +C:\Users\Googl\Documents\compabetov2\obj\Debug\compabetov2.inventario.resources +C:\Users\Googl\Documents\compabetov2\obj\Debug\compabetov2.cuentas.resources +C:\Users\Googl\Documents\compabetov2\obj\Debug\compabetov2.mermas.resources +C:\Users\Googl\Documents\compabetov2\obj\Debug\compabetov2.personal.resources +C:\Users\Googl\Documents\compabetov2\obj\Debug\compabetov2.vender.resources diff --git a/obj/Debug/compabetov2.csproj.GenerateResource.cache b/obj/Debug/compabetov2.csproj.GenerateResource.cache index 74bbc9f..27cfc7b 100644 Binary files a/obj/Debug/compabetov2.csproj.GenerateResource.cache and b/obj/Debug/compabetov2.csproj.GenerateResource.cache differ diff --git a/obj/Debug/compabetov2.exe b/obj/Debug/compabetov2.exe index 50aa0b1..d539037 100644 Binary files a/obj/Debug/compabetov2.exe and b/obj/Debug/compabetov2.exe differ diff --git a/obj/Debug/compabetov2.pdb b/obj/Debug/compabetov2.pdb index c7b4205..c19e04b 100644 Binary files a/obj/Debug/compabetov2.pdb and b/obj/Debug/compabetov2.pdb differ diff --git a/personal.Designer.cs b/personal.Designer.cs new file mode 100644 index 0000000..50c122e --- /dev/null +++ b/personal.Designer.cs @@ -0,0 +1,47 @@ +namespace compabetov2 +{ + partial class personal + { + /// + /// 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.SuspendLayout(); + // + // personal + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1924, 1055); + this.Name = "personal"; + this.Text = "personal"; + this.WindowState = System.Windows.Forms.FormWindowState.Maximized; + this.ResumeLayout(false); + + } + + #endregion + } +} \ No newline at end of file diff --git a/personal.cs b/personal.cs new file mode 100644 index 0000000..c5e1b0a --- /dev/null +++ b/personal.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 compabetov2 +{ + public partial class personal : Form + { + public personal() + { + InitializeComponent(); + } + } +} diff --git a/personal.resx b/personal.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/personal.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/vender.Designer.cs b/vender.Designer.cs new file mode 100644 index 0000000..f40a49f --- /dev/null +++ b/vender.Designer.cs @@ -0,0 +1,47 @@ +namespace compabetov2 +{ + partial class vender + { + /// + /// 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.SuspendLayout(); + // + // vender + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1924, 1055); + this.Name = "vender"; + this.Text = "vender"; + this.WindowState = System.Windows.Forms.FormWindowState.Maximized; + this.ResumeLayout(false); + + } + + #endregion + } +} \ No newline at end of file diff --git a/vender.cs b/vender.cs new file mode 100644 index 0000000..128ca19 --- /dev/null +++ b/vender.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 compabetov2 +{ + public partial class vender : Form + { + public vender() + { + InitializeComponent(); + } + } +} diff --git a/vender.resx b/vender.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/vender.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