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
+18 -45
View File
@@ -30,8 +30,6 @@
{
this.txtNombre = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.txtPrecio = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.lbImg = new System.Windows.Forms.Label();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
@@ -43,10 +41,9 @@
// 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(240, 210);
this.txtNombre.Margin = new System.Windows.Forms.Padding(4);
this.txtNombre.Location = new System.Drawing.Point(180, 212);
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 = 5;
//
// label1
@@ -55,45 +52,21 @@
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(235, 168);
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label1.Location = new System.Drawing.Point(176, 177);
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 = 6;
this.label1.Text = "Nombre:";
//
// 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(240, 299);
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 = 7;
//
// 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(235, 256);
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 = 8;
this.label2.Text = "Precio:";
//
// lbImg
//
this.lbImg.AutoSize = true;
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(350, 359);
this.lbImg.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbImg.Location = new System.Drawing.Point(262, 292);
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 = 10;
this.lbImg.Text = "Imagen:";
//
@@ -102,9 +75,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(345, 465);
this.pictureBox2.Location = new System.Drawing.Point(259, 378);
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 = 29;
this.pictureBox2.TabStop = false;
this.pictureBox2.Click += new System.EventHandler(this.pictureBox2_Click);
@@ -114,9 +88,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(451, 465);
this.pictureBox1.Location = new System.Drawing.Point(338, 378);
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 = 28;
this.pictureBox1.TabStop = false;
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
@@ -124,9 +99,10 @@
// button1
//
this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button1.Location = new System.Drawing.Point(240, 353);
this.button1.Location = new System.Drawing.Point(180, 287);
this.button1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(103, 46);
this.button1.Size = new System.Drawing.Size(77, 37);
this.button1.TabIndex = 30;
this.button1.Text = "Subir";
this.button1.UseVisualStyleBackColor = true;
@@ -134,23 +110,22 @@
//
// editar
//
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.button1);
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.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.Name = "editar";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Load += new System.EventHandler(this.editar_Load);
@@ -165,8 +140,6 @@
private System.Windows.Forms.TextBox txtNombre;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox txtPrecio;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label lbImg;
private System.Windows.Forms.PictureBox pictureBox2;
private System.Windows.Forms.PictureBox pictureBox1;