From 3e8cec35b96724229480a023b8697c789f751887 Mon Sep 17 00:00:00 2001 From: Michael Robles Date: Wed, 19 Jun 2024 16:45:42 -0700 Subject: [PATCH] subo pagina de editar x4 --- admin/editar.Designer.cs | 33 +++++++++++---------------------- admin/editar.cs | 5 +++++ 2 files changed, 16 insertions(+), 22 deletions(-) diff --git a/admin/editar.Designer.cs b/admin/editar.Designer.cs index 9b8e252..1be877d 100644 --- a/admin/editar.Designer.cs +++ b/admin/editar.Designer.cs @@ -30,9 +30,8 @@ { this.txtNombre = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); - this.textBox1 = new System.Windows.Forms.TextBox(); + this.txtPrecio = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); - this.textBox2 = new System.Windows.Forms.TextBox(); this.lbImg = new System.Windows.Forms.Label(); this.pictureBox2 = new System.Windows.Forms.PictureBox(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); @@ -63,14 +62,14 @@ this.label1.TabIndex = 6; this.label1.Text = "Nombre:"; // - // textBox1 + // txtPrecio // - this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.textBox1.Location = new System.Drawing.Point(333, 299); - this.textBox1.Margin = new System.Windows.Forms.Padding(4); - this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(231, 30); - this.textBox1.TabIndex = 7; + 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(333, 299); + this.txtPrecio.Margin = new System.Windows.Forms.Padding(4); + this.txtPrecio.Name = "txtPrecio"; + this.txtPrecio.Size = new System.Drawing.Size(231, 30); + this.txtPrecio.TabIndex = 7; // // label2 // @@ -85,15 +84,6 @@ this.label2.TabIndex = 8; this.label2.Text = "Precio:"; // - // textBox2 - // - this.textBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.textBox2.Location = new System.Drawing.Point(608, 299); - this.textBox2.Margin = new System.Windows.Forms.Padding(4); - this.textBox2.Name = "textBox2"; - this.textBox2.Size = new System.Drawing.Size(231, 30); - this.textBox2.TabIndex = 9; - // // lbImg // this.lbImg.AutoSize = true; @@ -117,6 +107,7 @@ this.pictureBox2.Size = new System.Drawing.Size(100, 69); this.pictureBox2.TabIndex = 29; this.pictureBox2.TabStop = false; + this.pictureBox2.Click += new System.EventHandler(this.pictureBox2_Click); // // pictureBox1 // @@ -152,9 +143,8 @@ this.Controls.Add(this.button1); this.Controls.Add(this.pictureBox2); this.Controls.Add(this.pictureBox1); - this.Controls.Add(this.textBox2); this.Controls.Add(this.lbImg); - this.Controls.Add(this.textBox1); + this.Controls.Add(this.txtPrecio); this.Controls.Add(this.label2); this.Controls.Add(this.txtNombre); this.Controls.Add(this.label1); @@ -174,9 +164,8 @@ private System.Windows.Forms.TextBox txtNombre; private System.Windows.Forms.Label label1; - private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.TextBox txtPrecio; private System.Windows.Forms.Label label2; - private System.Windows.Forms.TextBox textBox2; private System.Windows.Forms.Label lbImg; private System.Windows.Forms.PictureBox pictureBox2; private System.Windows.Forms.PictureBox pictureBox1; diff --git a/admin/editar.cs b/admin/editar.cs index 432a365..6c2ab28 100644 --- a/admin/editar.cs +++ b/admin/editar.cs @@ -44,5 +44,10 @@ namespace compabetov2.admin { } + + private void pictureBox2_Click(object sender, EventArgs e) + { + + } } }