diff --git a/admin/Variantes.Designer.cs b/admin/Variantes.Designer.cs index b5f01f4..ca4e4be 100644 --- a/admin/Variantes.Designer.cs +++ b/admin/Variantes.Designer.cs @@ -30,6 +30,8 @@ { this.VariantePanel = new System.Windows.Forms.FlowLayoutPanel(); this.btnAgregar = new System.Windows.Forms.Button(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // VariantePanel @@ -37,7 +39,7 @@ this.VariantePanel.AutoScroll = true; this.VariantePanel.BackColor = System.Drawing.SystemColors.Control; this.VariantePanel.Location = new System.Drawing.Point(17, 144); - this.VariantePanel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.VariantePanel.Margin = new System.Windows.Forms.Padding(4); this.VariantePanel.Name = "VariantePanel"; this.VariantePanel.Size = new System.Drawing.Size(1551, 564); this.VariantePanel.TabIndex = 16; @@ -46,8 +48,8 @@ // btnAgregar // this.btnAgregar.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnAgregar.Location = new System.Drawing.Point(1423, 87); - this.btnAgregar.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.btnAgregar.Location = new System.Drawing.Point(1317, 69); + this.btnAgregar.Margin = new System.Windows.Forms.Padding(4); this.btnAgregar.Name = "btnAgregar"; this.btnAgregar.Size = new System.Drawing.Size(125, 49); this.btnAgregar.TabIndex = 17; @@ -55,6 +57,19 @@ this.btnAgregar.UseVisualStyleBackColor = true; this.btnAgregar.Click += new System.EventHandler(this.btnAgregar_Click); // + // pictureBox1 + // + this.pictureBox1.BackColor = System.Drawing.Color.Transparent; + this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.pictureBox1.Image = global::compabetov2.Properties.Resources.cancel1; + this.pictureBox1.Location = new System.Drawing.Point(1449, 69); + this.pictureBox1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(100, 69); + this.pictureBox1.TabIndex = 46; + this.pictureBox1.TabStop = false; + this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click); + // // Variantes // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); @@ -64,6 +79,7 @@ this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.ClientSize = new System.Drawing.Size(1561, 722); this.ControlBox = false; + this.Controls.Add(this.pictureBox1); this.Controls.Add(this.btnAgregar); this.Controls.Add(this.VariantePanel); this.DoubleBuffered = true; @@ -72,6 +88,7 @@ this.Name = "Variantes"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Load += new System.EventHandler(this.Variantes_Load); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); } @@ -80,5 +97,6 @@ private System.Windows.Forms.FlowLayoutPanel VariantePanel; private System.Windows.Forms.Button btnAgregar; + private System.Windows.Forms.PictureBox pictureBox1; } } \ No newline at end of file diff --git a/admin/Variantes.cs b/admin/Variantes.cs index deee1dc..ee547bb 100644 --- a/admin/Variantes.cs +++ b/admin/Variantes.cs @@ -152,5 +152,10 @@ namespace compabetov2.admin { } + + private void pictureBox1_Click(object sender, EventArgs e) + { + Close(); + } } } diff --git a/bin/Debug/compabetov2.exe b/bin/Debug/compabetov2.exe index 6052504..1682014 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 02662ff..44fdddc 100644 Binary files a/bin/Debug/compabetov2.pdb and b/bin/Debug/compabetov2.pdb differ diff --git a/bin/Debug/data.db b/bin/Debug/data.db index acf9349..aa5fcda 100644 Binary files a/bin/Debug/data.db and b/bin/Debug/data.db differ diff --git a/obj/Debug/compabetov2.csproj.GenerateResource.cache b/obj/Debug/compabetov2.csproj.GenerateResource.cache index 247c1ea..154ef17 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 6052504..1682014 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 02662ff..44fdddc 100644 Binary files a/obj/Debug/compabetov2.pdb and b/obj/Debug/compabetov2.pdb differ