subo pagina de editar x2
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
"ExpandedNodes": [
|
||||
"",
|
||||
"\\admin",
|
||||
"\\Empleados",
|
||||
"\\Ventas"
|
||||
],
|
||||
"SelectedNode": "\\admin\\crud.cs",
|
||||
"SelectedNode": "\\Empleados\\EditarEmpleado1.cs",
|
||||
"PreviewInSolutionExplorer": false
|
||||
}
|
||||
Binary file not shown.
Generated
+1
@@ -367,6 +367,7 @@
|
||||
this.lbImg.Size = new System.Drawing.Size(99, 29);
|
||||
this.lbImg.TabIndex = 28;
|
||||
this.lbImg.Text = "Imagen:";
|
||||
this.lbImg.Click += new System.EventHandler(this.lbImg_Click);
|
||||
//
|
||||
// button1
|
||||
//
|
||||
|
||||
@@ -144,5 +144,10 @@ namespace compabetov2.Empleados
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void lbImg_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+17
-16
@@ -33,7 +33,7 @@
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||
this.label3 = 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();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
@@ -88,24 +88,24 @@
|
||||
// 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(333, 388);
|
||||
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;
|
||||
//
|
||||
// label3
|
||||
// lbImg
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
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(326, 344);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(119, 29);
|
||||
this.label3.TabIndex = 10;
|
||||
this.label3.Text = "Nombres:";
|
||||
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(326, 344);
|
||||
this.lbImg.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.lbImg.Name = "lbImg";
|
||||
this.lbImg.Size = new System.Drawing.Size(99, 29);
|
||||
this.lbImg.TabIndex = 10;
|
||||
this.lbImg.Text = "Imagen:";
|
||||
//
|
||||
// pictureBox2
|
||||
//
|
||||
@@ -132,7 +132,7 @@
|
||||
// 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(591, 465);
|
||||
this.button1.Location = new System.Drawing.Point(333, 388);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(103, 46);
|
||||
this.button1.TabIndex = 30;
|
||||
@@ -153,7 +153,7 @@
|
||||
this.Controls.Add(this.pictureBox2);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.Controls.Add(this.textBox2);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.lbImg);
|
||||
this.Controls.Add(this.textBox1);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.txtNombre);
|
||||
@@ -162,6 +162,7 @@
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||
this.Name = "editar";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Load += new System.EventHandler(this.editar_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
@@ -176,7 +177,7 @@
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.TextBox textBox2;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label lbImg;
|
||||
private System.Windows.Forms.PictureBox pictureBox2;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.Button button1;
|
||||
|
||||
+15
-2
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using compabetov2.database.modelos;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -13,8 +14,15 @@ namespace compabetov2.admin
|
||||
{
|
||||
public partial class editar : Form
|
||||
{
|
||||
public editar()
|
||||
|
||||
private Producto producto;
|
||||
private crud ventanaPadre;
|
||||
private string imagePath;
|
||||
public editar (Producto producto, crud ventanaPadre)
|
||||
|
||||
|
||||
{
|
||||
imagePath = Path.Combine(Application.StartupPath, "Resources", producto.img);
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
@@ -31,5 +39,10 @@ namespace compabetov2.admin
|
||||
lbImg.Text = $"Imagen: {Path.GetFileName(imagePath)}";
|
||||
}
|
||||
}
|
||||
|
||||
private void editar_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
79223065a562d51344b7320aac98712da31ef35fad93e21c7ea9a1c9b5a40da5
|
||||
a63a3de1a276558f18fee047d9f6479214ccb903c7f8ca92c41c2d02f593e436
|
||||
|
||||
@@ -151,3 +151,4 @@ C:\Users\Googl\Source\Repos\aspermaster23yeh\compabetoOG\obj\Debug\compabetov2.e
|
||||
C:\Users\Googl\Source\Repos\aspermaster23yeh\compabetoOG\obj\Debug\compabetov2.pdb
|
||||
C:\Users\Googl\Source\Repos\aspermaster23yeh\compabetoOG\obj\Debug\compabetov2.admin.crud.resources
|
||||
C:\Users\carsu\source\repos\compabetoOG\obj\Debug\compabetov2.admin.crud.resources
|
||||
C:\Users\Googl\Source\Repos\aspermaster23yeh\compabetoOG\obj\Debug\compabetov2.admin.editar.resources
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user