diff --git a/.gitignore.txt b/.gitignore.txt new file mode 100644 index 0000000..a4d6d9c --- /dev/null +++ b/.gitignore.txt @@ -0,0 +1 @@ +.vs/ \ No newline at end of file diff --git a/.vs/compabetov2/FileContentIndex/0788bd9a-db9a-4f06-861f-fa6cdc2a0d3d.vsidx b/.vs/compabetov2/FileContentIndex/0788bd9a-db9a-4f06-861f-fa6cdc2a0d3d.vsidx deleted file mode 100644 index 9b4a28c..0000000 Binary files a/.vs/compabetov2/FileContentIndex/0788bd9a-db9a-4f06-861f-fa6cdc2a0d3d.vsidx and /dev/null differ diff --git a/.vs/compabetov2/FileContentIndex/113586f4-ebaf-4be8-9386-e27fc784cb81.vsidx b/.vs/compabetov2/FileContentIndex/113586f4-ebaf-4be8-9386-e27fc784cb81.vsidx deleted file mode 100644 index 1329e17..0000000 Binary files a/.vs/compabetov2/FileContentIndex/113586f4-ebaf-4be8-9386-e27fc784cb81.vsidx and /dev/null differ diff --git a/.vs/compabetov2/FileContentIndex/30a0ce11-533d-40aa-bed4-354ad3d53dd0.vsidx b/.vs/compabetov2/FileContentIndex/30a0ce11-533d-40aa-bed4-354ad3d53dd0.vsidx deleted file mode 100644 index 519a732..0000000 Binary files a/.vs/compabetov2/FileContentIndex/30a0ce11-533d-40aa-bed4-354ad3d53dd0.vsidx and /dev/null differ diff --git a/.vs/compabetov2/FileContentIndex/3e39f488-c3ae-4daa-aa6c-2c0f28b463de.vsidx b/.vs/compabetov2/FileContentIndex/3e39f488-c3ae-4daa-aa6c-2c0f28b463de.vsidx new file mode 100644 index 0000000..86a88fb Binary files /dev/null and b/.vs/compabetov2/FileContentIndex/3e39f488-c3ae-4daa-aa6c-2c0f28b463de.vsidx differ diff --git a/.vs/compabetov2/FileContentIndex/6632fab4-38cb-41a0-82cd-0c8db5993463.vsidx b/.vs/compabetov2/FileContentIndex/6632fab4-38cb-41a0-82cd-0c8db5993463.vsidx deleted file mode 100644 index 65f7fad..0000000 Binary files a/.vs/compabetov2/FileContentIndex/6632fab4-38cb-41a0-82cd-0c8db5993463.vsidx and /dev/null differ diff --git a/.vs/compabetov2/FileContentIndex/723b65bf-e24d-471e-89ca-2fcd677ca28f.vsidx b/.vs/compabetov2/FileContentIndex/723b65bf-e24d-471e-89ca-2fcd677ca28f.vsidx new file mode 100644 index 0000000..434127c Binary files /dev/null and b/.vs/compabetov2/FileContentIndex/723b65bf-e24d-471e-89ca-2fcd677ca28f.vsidx differ diff --git a/.vs/compabetov2/FileContentIndex/7fdbd707-976f-44a9-9cf9-8ef3dad4f791.vsidx b/.vs/compabetov2/FileContentIndex/7fdbd707-976f-44a9-9cf9-8ef3dad4f791.vsidx deleted file mode 100644 index b36ad58..0000000 Binary files a/.vs/compabetov2/FileContentIndex/7fdbd707-976f-44a9-9cf9-8ef3dad4f791.vsidx and /dev/null differ diff --git a/.vs/compabetov2/FileContentIndex/81651779-a7d5-4767-8c97-2196a4ae99e0.vsidx b/.vs/compabetov2/FileContentIndex/81651779-a7d5-4767-8c97-2196a4ae99e0.vsidx deleted file mode 100644 index ebf609d..0000000 Binary files a/.vs/compabetov2/FileContentIndex/81651779-a7d5-4767-8c97-2196a4ae99e0.vsidx and /dev/null differ diff --git a/.vs/compabetov2/FileContentIndex/86aca791-b698-42f2-86ed-c7837ac73c72.vsidx b/.vs/compabetov2/FileContentIndex/86aca791-b698-42f2-86ed-c7837ac73c72.vsidx new file mode 100644 index 0000000..d3c94a1 Binary files /dev/null and b/.vs/compabetov2/FileContentIndex/86aca791-b698-42f2-86ed-c7837ac73c72.vsidx differ diff --git a/.vs/compabetov2/FileContentIndex/879aac68-0f23-4e06-89fe-d6d74a86646c.vsidx b/.vs/compabetov2/FileContentIndex/879aac68-0f23-4e06-89fe-d6d74a86646c.vsidx new file mode 100644 index 0000000..25766f7 Binary files /dev/null and b/.vs/compabetov2/FileContentIndex/879aac68-0f23-4e06-89fe-d6d74a86646c.vsidx differ diff --git a/.vs/compabetov2/FileContentIndex/c43954da-ebf5-49ab-8834-3ef795943804.vsidx b/.vs/compabetov2/FileContentIndex/c43954da-ebf5-49ab-8834-3ef795943804.vsidx new file mode 100644 index 0000000..d9f4ae0 Binary files /dev/null and b/.vs/compabetov2/FileContentIndex/c43954da-ebf5-49ab-8834-3ef795943804.vsidx differ diff --git a/.vs/compabetov2/FileContentIndex/cdd40c11-adcc-4a9b-a9a4-1c2a9af856ff.vsidx b/.vs/compabetov2/FileContentIndex/cdd40c11-adcc-4a9b-a9a4-1c2a9af856ff.vsidx deleted file mode 100644 index 24f5b72..0000000 Binary files a/.vs/compabetov2/FileContentIndex/cdd40c11-adcc-4a9b-a9a4-1c2a9af856ff.vsidx and /dev/null differ diff --git a/.vs/compabetov2/FileContentIndex/f86e3506-2e5d-4b93-8f75-c3bb56432302.vsidx b/.vs/compabetov2/FileContentIndex/f86e3506-2e5d-4b93-8f75-c3bb56432302.vsidx deleted file mode 100644 index 762f022..0000000 Binary files a/.vs/compabetov2/FileContentIndex/f86e3506-2e5d-4b93-8f75-c3bb56432302.vsidx and /dev/null differ diff --git a/.vs/compabetov2/v17/.suo b/.vs/compabetov2/v17/.suo index 4666646..9840846 100644 Binary files a/.vs/compabetov2/v17/.suo and b/.vs/compabetov2/v17/.suo differ diff --git a/MenuPrincipal.Designer.cs b/MenuPrincipal.Designer.cs index 42015a0..37aca04 100644 --- a/MenuPrincipal.Designer.cs +++ b/MenuPrincipal.Designer.cs @@ -3,14 +3,14 @@ partial class MenuPrincipal { /// - /// Required designer variable. + /// Variable del diseñador necesaria. /// private System.ComponentModel.IContainer components = null; /// - /// Clean up any resources being used. + /// Limpiar los recursos que se estén usando. /// - /// true if managed resources should be disposed; otherwise, false. + /// true si los recursos administrados se deben desechar; false en caso contrario. protected override void Dispose(bool disposing) { if (disposing && (components != null)) @@ -20,133 +20,280 @@ base.Dispose(disposing); } - #region Windows Form Designer generated code + #region Código generado por el Diseñador de Windows Forms /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. + /// Método necesario para admitir el Diseñador. No se puede modificar + /// el contenido de este método con el editor de código. /// private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.pictureBox2 = new System.Windows.Forms.PictureBox(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.pictureBox3 = new System.Windows.Forms.PictureBox(); this.pictureBox4 = new System.Windows.Forms.PictureBox(); this.pictureBox5 = new System.Windows.Forms.PictureBox(); this.pictureBox6 = new System.Windows.Forms.PictureBox(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); + this.panel2 = new System.Windows.Forms.Panel(); + 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.pictureBox7 = new System.Windows.Forms.PictureBox(); + this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).BeginInit(); + this.flowLayoutPanel1.SuspendLayout(); + this.panel2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit(); this.SuspendLayout(); // // panel1 // - this.panel1.BackgroundImage = global::compabetov2.Properties.Resources.rec; this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.panel1.Location = new System.Drawing.Point(-1, 0); + this.panel1.Controls.Add(this.flowLayoutPanel1); + this.panel1.Controls.Add(this.pictureBox4); + this.panel1.Controls.Add(this.pictureBox5); + this.panel1.Controls.Add(this.pictureBox6); + this.panel1.Controls.Add(this.pictureBox3); + this.panel1.Controls.Add(this.pictureBox2); + this.panel1.Controls.Add(this.pictureBox1); + this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(347, 1069); - this.panel1.TabIndex = 0; - // - // pictureBox1 - // - this.pictureBox1.Image = global::compabetov2.Properties.Resources.cua1; - this.pictureBox1.Location = new System.Drawing.Point(448, 174); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(327, 308); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox1.TabIndex = 1; - this.pictureBox1.TabStop = false; + this.panel1.Size = new System.Drawing.Size(1924, 1055); + this.panel1.TabIndex = 4; // // pictureBox2 // - this.pictureBox2.Image = global::compabetov2.Properties.Resources.cua1; - this.pictureBox2.Location = new System.Drawing.Point(933, 174); + this.pictureBox2.Image = global::compabetov2.Properties.Resources.Vender; + this.pictureBox2.Location = new System.Drawing.Point(482, 103); this.pictureBox2.Name = "pictureBox2"; - this.pictureBox2.Size = new System.Drawing.Size(327, 308); + this.pictureBox2.Size = new System.Drawing.Size(293, 282); this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox2.TabIndex = 2; this.pictureBox2.TabStop = false; // + // pictureBox1 + // + this.pictureBox1.Image = global::compabetov2.Properties.Resources.Personal; + this.pictureBox1.Location = new System.Drawing.Point(912, 103); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(293, 282); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox1.TabIndex = 1; + this.pictureBox1.TabStop = false; + // // pictureBox3 // - this.pictureBox3.Image = global::compabetov2.Properties.Resources.cua1; - this.pictureBox3.Location = new System.Drawing.Point(1408, 174); + this.pictureBox3.Image = global::compabetov2.Properties.Resources.Envios; + this.pictureBox3.Location = new System.Drawing.Point(1348, 103); this.pictureBox3.Name = "pictureBox3"; - this.pictureBox3.Size = new System.Drawing.Size(327, 308); + this.pictureBox3.Size = new System.Drawing.Size(293, 282); this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox3.TabIndex = 3; this.pictureBox3.TabStop = false; // // pictureBox4 // - this.pictureBox4.Image = global::compabetov2.Properties.Resources.cua1; - this.pictureBox4.Location = new System.Drawing.Point(1408, 614); + this.pictureBox4.Image = global::compabetov2.Properties.Resources.inventario; + this.pictureBox4.Location = new System.Drawing.Point(1348, 560); this.pictureBox4.Name = "pictureBox4"; - this.pictureBox4.Size = new System.Drawing.Size(327, 308); + 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; // // pictureBox5 // - this.pictureBox5.Image = global::compabetov2.Properties.Resources.cua1; - this.pictureBox5.Location = new System.Drawing.Point(933, 614); + this.pictureBox5.Image = global::compabetov2.Properties.Resources.Cuentas; + this.pictureBox5.Location = new System.Drawing.Point(482, 560); this.pictureBox5.Name = "pictureBox5"; - this.pictureBox5.Size = new System.Drawing.Size(327, 308); + this.pictureBox5.Size = new System.Drawing.Size(293, 282); this.pictureBox5.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox5.TabIndex = 5; this.pictureBox5.TabStop = false; // // pictureBox6 // - this.pictureBox6.Image = global::compabetov2.Properties.Resources.cua1; - this.pictureBox6.Location = new System.Drawing.Point(448, 614); + this.pictureBox6.Image = global::compabetov2.Properties.Resources.mermas; + this.pictureBox6.Location = new System.Drawing.Point(912, 560); this.pictureBox6.Name = "pictureBox6"; - this.pictureBox6.Size = new System.Drawing.Size(327, 308); + this.pictureBox6.Size = new System.Drawing.Size(293, 282); this.pictureBox6.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox6.TabIndex = 4; this.pictureBox6.TabStop = false; // + // 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(-8, -6); + this.flowLayoutPanel1.Name = "flowLayoutPanel1"; + this.flowLayoutPanel1.Size = new System.Drawing.Size(324, 1061); + this.flowLayoutPanel1.TabIndex = 7; + // + // 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; + // + // 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; + // + // 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; + // + // 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; + // // MenuPrincipal // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.BackColor = System.Drawing.SystemColors.Window; - this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.ClientSize = new System.Drawing.Size(1924, 1055); - this.Controls.Add(this.pictureBox4); - this.Controls.Add(this.pictureBox5); - this.Controls.Add(this.pictureBox6); - this.Controls.Add(this.pictureBox3); - this.Controls.Add(this.pictureBox2); - this.Controls.Add(this.pictureBox1); this.Controls.Add(this.panel1); + this.IsMdiContainer = true; + this.Margin = new System.Windows.Forms.Padding(4); this.Name = "MenuPrincipal"; - this.Text = "MenuPrincipal"; + this.Text = "Menu "; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.Load += new System.EventHandler(this.MenuPrincipal_Load); + this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).EndInit(); + this.flowLayoutPanel1.ResumeLayout(false); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit(); this.ResumeLayout(false); } - #endregion - private System.Windows.Forms.Panel panel1; private System.Windows.Forms.PictureBox pictureBox1; private System.Windows.Forms.PictureBox pictureBox2; - private System.Windows.Forms.PictureBox pictureBox3; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; + private System.Windows.Forms.Panel panel2; private System.Windows.Forms.PictureBox pictureBox4; private System.Windows.Forms.PictureBox pictureBox5; private System.Windows.Forms.PictureBox pictureBox6; + private System.Windows.Forms.PictureBox pictureBox3; + 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.PictureBox pictureBox7; } -} \ No newline at end of file +} + + + diff --git a/MenuPrincipal.cs b/MenuPrincipal.cs index 7e44b44..76e15a7 100644 --- a/MenuPrincipal.cs +++ b/MenuPrincipal.cs @@ -12,14 +12,36 @@ namespace compabetov2 { public partial class MenuPrincipal : Form { + private int childFormNumber = 0; + public MenuPrincipal() { InitializeComponent(); } - private void label1_Click(object sender, EventArgs e) + private void ShowNewForm(object sender, EventArgs e) { + Form childForm = new Form(); + childForm.MdiParent = this; + childForm.Text = "Ventana " + childFormNumber++; + childForm.Show(); + } + + + + private void ExitToolsStripMenuItem_Click(object sender, EventArgs e) + { + + } + + private void MenuPrincipal_Load(object sender, EventArgs e) + { + + + + + } } } diff --git a/MenuPrincipal.resx b/MenuPrincipal.resx index 1af7de1..32e69e9 100644 --- a/MenuPrincipal.resx +++ b/MenuPrincipal.resx @@ -117,4 +117,7 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 51 + \ No newline at end of file diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs index d24c26e..e0324f9 100644 --- a/Properties/Resources.Designer.cs +++ b/Properties/Resources.Designer.cs @@ -100,6 +100,16 @@ namespace compabetov2.Properties { } } + /// + /// Busca un recurso adaptado de tipo System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Cuentas { + get { + object obj = ResourceManager.GetObject("Cuentas", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Busca un recurso adaptado de tipo System.Drawing.Bitmap. /// @@ -110,6 +120,26 @@ namespace compabetov2.Properties { } } + /// + /// Busca un recurso adaptado de tipo System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Envios { + get { + object obj = ResourceManager.GetObject("Envios", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Busca un recurso adaptado de tipo System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap estadisticasi { + get { + object obj = ResourceManager.GetObject("estadisticasi", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Busca un recurso adaptado de tipo System.Drawing.Bitmap. /// @@ -130,6 +160,26 @@ namespace compabetov2.Properties { } } + /// + /// Busca un recurso adaptado de tipo System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap HomeroMenu { + get { + object obj = ResourceManager.GetObject("HomeroMenu", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Busca un recurso adaptado de tipo System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap inventario { + get { + object obj = ResourceManager.GetObject("inventario", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Busca un recurso adaptado de tipo System.Drawing.Bitmap. /// @@ -180,6 +230,56 @@ namespace compabetov2.Properties { } } + /// + /// Busca un recurso adaptado de tipo System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Menui { + get { + object obj = ResourceManager.GetObject("Menui", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Busca un recurso adaptado de tipo System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Menui1 { + get { + object obj = ResourceManager.GetObject("Menui1", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Busca un recurso adaptado de tipo System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap mermas { + get { + object obj = ResourceManager.GetObject("mermas", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Busca un recurso adaptado de tipo System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Personal { + get { + object obj = ResourceManager.GetObject("Personal", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Busca un recurso adaptado de tipo System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap productoi { + get { + object obj = ResourceManager.GetObject("productoi", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Busca un recurso adaptado de tipo System.Drawing.Bitmap. /// @@ -199,5 +299,35 @@ namespace compabetov2.Properties { return ((System.Drawing.Bitmap)(obj)); } } + + /// + /// Busca un recurso adaptado de tipo System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap reportesi { + get { + object obj = ResourceManager.GetObject("reportesi", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Busca un recurso adaptado de tipo System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap sesionc { + get { + object obj = ResourceManager.GetObject("sesionc", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Busca un recurso adaptado de tipo System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Vender { + get { + object obj = ResourceManager.GetObject("Vender", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } } } diff --git a/Properties/Resources.resx b/Properties/Resources.resx index d6d7c27..a96ded8 100644 --- a/Properties/Resources.resx +++ b/Properties/Resources.resx @@ -118,26 +118,11 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - ..\Resources\dummy logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\maschico.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\Menu.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\bg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\LoginOriginal1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\Homero1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\Rectangle 1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\Personal.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\rec.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -145,19 +130,73 @@ ..\Resources\Cuadro.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\LoginOriginal.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\Homero1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\LoginOriginal2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\mermas.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\Group 1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\Rectangle 1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\reportesi.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Menui1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\inventario.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\cua.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\Menui.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\bg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Vender.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Envios.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\cua1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\estadisticasi.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Cuentas.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\LoginOriginal.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\sesionc.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\productoi.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\maschico.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\LoginOriginal2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\dummy logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Group 1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Menu.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\HomeroMenu.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/Resources/Cuentas.png b/Resources/Cuentas.png new file mode 100644 index 0000000..23fa8fd Binary files /dev/null and b/Resources/Cuentas.png differ diff --git a/Resources/Envios.png b/Resources/Envios.png new file mode 100644 index 0000000..8be82ac Binary files /dev/null and b/Resources/Envios.png differ diff --git a/Resources/HomeroMenu.png b/Resources/HomeroMenu.png new file mode 100644 index 0000000..967b296 Binary files /dev/null and b/Resources/HomeroMenu.png differ diff --git a/Resources/Menui.png b/Resources/Menui.png new file mode 100644 index 0000000..8628756 Binary files /dev/null and b/Resources/Menui.png differ diff --git a/Resources/Menui1.png b/Resources/Menui1.png new file mode 100644 index 0000000..c242d9c Binary files /dev/null and b/Resources/Menui1.png differ diff --git a/Resources/Personal.png b/Resources/Personal.png new file mode 100644 index 0000000..0df95e3 Binary files /dev/null and b/Resources/Personal.png differ diff --git a/Resources/Vender.png b/Resources/Vender.png new file mode 100644 index 0000000..39f4e9f Binary files /dev/null and b/Resources/Vender.png differ diff --git a/Resources/estadisticasi.png b/Resources/estadisticasi.png new file mode 100644 index 0000000..3fdef9e Binary files /dev/null and b/Resources/estadisticasi.png differ diff --git a/Resources/inventario.png b/Resources/inventario.png new file mode 100644 index 0000000..5f218ad Binary files /dev/null and b/Resources/inventario.png differ diff --git a/Resources/mermas.png b/Resources/mermas.png new file mode 100644 index 0000000..c4dc8be Binary files /dev/null and b/Resources/mermas.png differ diff --git a/Resources/productoi.png b/Resources/productoi.png new file mode 100644 index 0000000..a95d031 Binary files /dev/null and b/Resources/productoi.png differ diff --git a/Resources/reportesi.png b/Resources/reportesi.png new file mode 100644 index 0000000..4ef41f8 Binary files /dev/null and b/Resources/reportesi.png differ diff --git a/Resources/sesionc.png b/Resources/sesionc.png new file mode 100644 index 0000000..ee3b851 Binary files /dev/null and b/Resources/sesionc.png differ diff --git a/bin/Debug/compabetov2.exe b/bin/Debug/compabetov2.exe index 35a66d0..306e466 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 a53fb60..f61d926 100644 Binary files a/bin/Debug/compabetov2.pdb and b/bin/Debug/compabetov2.pdb differ diff --git a/compabetov2.csproj b/compabetov2.csproj index c1f8c68..3b3b51d 100644 --- a/compabetov2.csproj +++ b/compabetov2.csproj @@ -69,11 +69,11 @@ - + Form - - Form1.cs + + login.cs Form @@ -83,8 +83,8 @@ - - Form1.cs + + login.cs MenuPrincipal.cs @@ -155,6 +155,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Form1.Designer.cs b/login.Designer.cs similarity index 100% rename from Form1.Designer.cs rename to login.Designer.cs diff --git a/Form1.cs b/login.cs similarity index 96% rename from Form1.cs rename to login.cs index ec65745..acfddb0 100644 --- a/Form1.cs +++ b/login.cs @@ -44,10 +44,15 @@ namespace compabetov2 if (service.iniciarSesion(new database.modelos.Usuario(txtusuario.Text, txtcontraseña.Text))) { - MenuPrincipal principal = new MenuPrincipal(); + MenuPrincipal principal = new MenuPrincipal(); principal.Show(); + this.Hide(); + + + + } diff --git a/Form1.resx b/login.resx similarity index 100% rename from Form1.resx rename to login.resx diff --git a/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index d00b4de..4e28561 100644 Binary files a/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll index 42dcb32..365c56c 100644 Binary files a/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll and b/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/obj/Debug/compabetov2.Properties.Resources.resources b/obj/Debug/compabetov2.Properties.Resources.resources index cc8e1e7..4007585 100644 Binary files a/obj/Debug/compabetov2.Properties.Resources.resources and b/obj/Debug/compabetov2.Properties.Resources.resources differ diff --git a/obj/Debug/compabetov2.csproj.CoreCompileInputs.cache b/obj/Debug/compabetov2.csproj.CoreCompileInputs.cache index 2ca453e..31cc99c 100644 --- a/obj/Debug/compabetov2.csproj.CoreCompileInputs.cache +++ b/obj/Debug/compabetov2.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -7f20fdc2c0b675a70295d512a2af2eff30df4ace +05819d235d91141814c11abb2c220a18419f2908 diff --git a/obj/Debug/compabetov2.csproj.GenerateResource.cache b/obj/Debug/compabetov2.csproj.GenerateResource.cache index 3991889..d8cf58c 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 35a66d0..306e466 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 a53fb60..f61d926 100644 Binary files a/obj/Debug/compabetov2.pdb and b/obj/Debug/compabetov2.pdb differ