crud de variante terminado, tal vez con detalles

This commit is contained in:
Carlos Sandoval
2024-06-24 23:15:03 -06:00
parent a9c9bd2c05
commit a610343abe
24 changed files with 288 additions and 227 deletions
+20 -48
View File
@@ -32,8 +32,6 @@
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.lbImg = new System.Windows.Forms.Label();
this.txtPrecio = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.txtNombre = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
@@ -45,9 +43,10 @@
//
this.btnSubir.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnSubir.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
this.btnSubir.Location = new System.Drawing.Point(243, 312);
this.btnSubir.Location = new System.Drawing.Point(182, 254);
this.btnSubir.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnSubir.Name = "btnSubir";
this.btnSubir.Size = new System.Drawing.Size(103, 46);
this.btnSubir.Size = new System.Drawing.Size(77, 37);
this.btnSubir.TabIndex = 38;
this.btnSubir.Text = "Subir";
this.btnSubir.UseVisualStyleBackColor = true;
@@ -58,9 +57,10 @@
this.pictureBox2.BackColor = System.Drawing.Color.Transparent;
this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.pictureBox2.Image = global::compabetov2.Properties.Resources.check1;
this.pictureBox2.Location = new System.Drawing.Point(348, 424);
this.pictureBox2.Location = new System.Drawing.Point(261, 344);
this.pictureBox2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(100, 69);
this.pictureBox2.Size = new System.Drawing.Size(75, 56);
this.pictureBox2.TabIndex = 37;
this.pictureBox2.TabStop = false;
this.pictureBox2.Click += new System.EventHandler(this.pictureBox2_Click);
@@ -70,9 +70,10 @@
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(454, 424);
this.pictureBox1.Location = new System.Drawing.Point(340, 344);
this.pictureBox1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(100, 69);
this.pictureBox1.Size = new System.Drawing.Size(75, 56);
this.pictureBox1.TabIndex = 36;
this.pictureBox1.TabStop = false;
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
@@ -83,42 +84,18 @@
this.lbImg.BackColor = System.Drawing.Color.Transparent;
this.lbImg.Font = new System.Drawing.Font("Microsoft Sans Serif", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbImg.ForeColor = System.Drawing.Color.Transparent;
this.lbImg.Location = new System.Drawing.Point(353, 318);
this.lbImg.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbImg.Location = new System.Drawing.Point(265, 258);
this.lbImg.Name = "lbImg";
this.lbImg.Size = new System.Drawing.Size(99, 29);
this.lbImg.Size = new System.Drawing.Size(78, 24);
this.lbImg.TabIndex = 35;
this.lbImg.Text = "Imagen:";
//
// txtPrecio
//
this.txtPrecio.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtPrecio.Location = new System.Drawing.Point(243, 258);
this.txtPrecio.Margin = new System.Windows.Forms.Padding(4);
this.txtPrecio.Name = "txtPrecio";
this.txtPrecio.Size = new System.Drawing.Size(399, 30);
this.txtPrecio.TabIndex = 33;
//
// label2
//
this.label2.AutoSize = true;
this.label2.BackColor = System.Drawing.Color.Transparent;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.ForeColor = System.Drawing.Color.Transparent;
this.label2.Location = new System.Drawing.Point(238, 215);
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(89, 29);
this.label2.TabIndex = 34;
this.label2.Text = "Precio:";
//
// txtNombre
//
this.txtNombre.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtNombre.Location = new System.Drawing.Point(243, 169);
this.txtNombre.Margin = new System.Windows.Forms.Padding(4);
this.txtNombre.Location = new System.Drawing.Point(182, 192);
this.txtNombre.Name = "txtNombre";
this.txtNombre.Size = new System.Drawing.Size(399, 30);
this.txtNombre.Size = new System.Drawing.Size(300, 26);
this.txtNombre.TabIndex = 31;
//
// label1
@@ -127,10 +104,9 @@
this.label1.BackColor = System.Drawing.Color.Transparent;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.Color.Transparent;
this.label1.Location = new System.Drawing.Point(238, 127);
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label1.Location = new System.Drawing.Point(178, 158);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(107, 29);
this.label1.Size = new System.Drawing.Size(84, 24);
this.label1.TabIndex = 32;
this.label1.Text = "Nombre:";
//
@@ -140,34 +116,32 @@
this.label3.BackColor = System.Drawing.Color.Transparent;
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label3.ForeColor = System.Drawing.Color.Transparent;
this.label3.Location = new System.Drawing.Point(13, 9);
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label3.Location = new System.Drawing.Point(10, 7);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(202, 29);
this.label3.Size = new System.Drawing.Size(159, 24);
this.label3.TabIndex = 39;
this.label3.Text = "Agregar Producto";
//
// agregarproducto
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(104)))), ((int)(((byte)(255)))));
this.BackgroundImage = global::compabetov2.Properties.Resources.Form;
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ClientSize = new System.Drawing.Size(897, 575);
this.ClientSize = new System.Drawing.Size(673, 467);
this.ControlBox = false;
this.Controls.Add(this.label3);
this.Controls.Add(this.btnSubir);
this.Controls.Add(this.pictureBox2);
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.lbImg);
this.Controls.Add(this.txtPrecio);
this.Controls.Add(this.label2);
this.Controls.Add(this.txtNombre);
this.Controls.Add(this.label1);
this.DoubleBuffered = true;
this.ForeColor = System.Drawing.SystemColors.ControlLightLight;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.Name = "agregarproducto";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
@@ -183,8 +157,6 @@
private System.Windows.Forms.PictureBox pictureBox2;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Label lbImg;
private System.Windows.Forms.TextBox txtPrecio;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txtNombre;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label3;