Nuevos Diseños
This commit is contained in:
@@ -1,11 +1,8 @@
|
|||||||
{
|
{
|
||||||
"ExpandedNodes": [
|
"ExpandedNodes": [
|
||||||
"",
|
"",
|
||||||
"\\database",
|
"\\Empleados"
|
||||||
"\\Empleados",
|
|
||||||
"\\Properties",
|
|
||||||
"\\Properties\\DataSources"
|
|
||||||
],
|
],
|
||||||
"SelectedNode": "\\database\\service.cs",
|
"SelectedNode": "\\Empleados\\EditarEmpleado.cs",
|
||||||
"PreviewInSolutionExplorer": false
|
"PreviewInSolutionExplorer": false
|
||||||
}
|
}
|
||||||
Binary file not shown.
Generated
+478
@@ -0,0 +1,478 @@
|
|||||||
|
namespace compabetov2.Empleados
|
||||||
|
{
|
||||||
|
partial class AgregarEmpleado1
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.lbImg = new System.Windows.Forms.Label();
|
||||||
|
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.label12 = new System.Windows.Forms.Label();
|
||||||
|
this.cbEstado = new System.Windows.Forms.ComboBox();
|
||||||
|
this.label11 = new System.Windows.Forms.Label();
|
||||||
|
this.txtTelefono = new System.Windows.Forms.TextBox();
|
||||||
|
this.label10 = new System.Windows.Forms.Label();
|
||||||
|
this.dtFechaCon = new System.Windows.Forms.DateTimePicker();
|
||||||
|
this.label9 = new System.Windows.Forms.Label();
|
||||||
|
this.dtFechaNac = new System.Windows.Forms.DateTimePicker();
|
||||||
|
this.label8 = new System.Windows.Forms.Label();
|
||||||
|
this.label7 = new System.Windows.Forms.Label();
|
||||||
|
this.txtReferencia = new System.Windows.Forms.TextBox();
|
||||||
|
this.txtNoInt = new System.Windows.Forms.TextBox();
|
||||||
|
this.label6 = new System.Windows.Forms.Label();
|
||||||
|
this.txtNoExt = new System.Windows.Forms.TextBox();
|
||||||
|
this.label5 = new System.Windows.Forms.Label();
|
||||||
|
this.txtCp = new System.Windows.Forms.TextBox();
|
||||||
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
|
this.txtColonia = new System.Windows.Forms.TextBox();
|
||||||
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
|
this.txtCalle = new System.Windows.Forms.TextBox();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.txtApellido = new System.Windows.Forms.TextBox();
|
||||||
|
this.txtNombre = new System.Windows.Forms.TextBox();
|
||||||
|
this.label13 = new System.Windows.Forms.Label();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Font = new System.Drawing.Font("Poppins", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.button1.Location = new System.Drawing.Point(46, 548);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(103, 46);
|
||||||
|
this.button1.TabIndex = 57;
|
||||||
|
this.button1.Text = "Subir";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// lbImg
|
||||||
|
//
|
||||||
|
this.lbImg.AutoSize = true;
|
||||||
|
this.lbImg.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.lbImg.Font = new System.Drawing.Font("Poppins", 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(161, 550);
|
||||||
|
this.lbImg.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.lbImg.Name = "lbImg";
|
||||||
|
this.lbImg.Size = new System.Drawing.Size(113, 40);
|
||||||
|
this.lbImg.TabIndex = 56;
|
||||||
|
this.lbImg.Text = "Imagen:";
|
||||||
|
//
|
||||||
|
// pictureBox2
|
||||||
|
//
|
||||||
|
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(373, 548);
|
||||||
|
this.pictureBox2.Name = "pictureBox2";
|
||||||
|
this.pictureBox2.Size = new System.Drawing.Size(100, 69);
|
||||||
|
this.pictureBox2.TabIndex = 55;
|
||||||
|
this.pictureBox2.TabStop = false;
|
||||||
|
this.pictureBox2.Click += new System.EventHandler(this.pictureBox2_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(479, 548);
|
||||||
|
this.pictureBox1.Name = "pictureBox1";
|
||||||
|
this.pictureBox1.Size = new System.Drawing.Size(100, 69);
|
||||||
|
this.pictureBox1.TabIndex = 54;
|
||||||
|
this.pictureBox1.TabStop = false;
|
||||||
|
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
|
||||||
|
//
|
||||||
|
// label12
|
||||||
|
//
|
||||||
|
this.label12.AutoSize = true;
|
||||||
|
this.label12.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label12.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label12.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label12.Location = new System.Drawing.Point(644, 430);
|
||||||
|
this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label12.Name = "label12";
|
||||||
|
this.label12.Size = new System.Drawing.Size(101, 40);
|
||||||
|
this.label12.TabIndex = 53;
|
||||||
|
this.label12.Text = "Estado:";
|
||||||
|
//
|
||||||
|
// cbEstado
|
||||||
|
//
|
||||||
|
this.cbEstado.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.cbEstado.FormattingEnabled = true;
|
||||||
|
this.cbEstado.Items.AddRange(new object[] {
|
||||||
|
"Activo",
|
||||||
|
"Inactivo"});
|
||||||
|
this.cbEstado.Location = new System.Drawing.Point(651, 468);
|
||||||
|
this.cbEstado.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.cbEstado.Name = "cbEstado";
|
||||||
|
this.cbEstado.Size = new System.Drawing.Size(231, 48);
|
||||||
|
this.cbEstado.TabIndex = 52;
|
||||||
|
this.cbEstado.Text = "Activo";
|
||||||
|
//
|
||||||
|
// label11
|
||||||
|
//
|
||||||
|
this.label11.AutoSize = true;
|
||||||
|
this.label11.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label11.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label11.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label11.Location = new System.Drawing.Point(341, 430);
|
||||||
|
this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label11.Name = "label11";
|
||||||
|
this.label11.Size = new System.Drawing.Size(121, 40);
|
||||||
|
this.label11.TabIndex = 51;
|
||||||
|
this.label11.Text = "Telefono:";
|
||||||
|
//
|
||||||
|
// txtTelefono
|
||||||
|
//
|
||||||
|
this.txtTelefono.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtTelefono.Location = new System.Drawing.Point(348, 474);
|
||||||
|
this.txtTelefono.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtTelefono.Name = "txtTelefono";
|
||||||
|
this.txtTelefono.Size = new System.Drawing.Size(231, 42);
|
||||||
|
this.txtTelefono.TabIndex = 50;
|
||||||
|
//
|
||||||
|
// label10
|
||||||
|
//
|
||||||
|
this.label10.AutoSize = true;
|
||||||
|
this.label10.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label10.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label10.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label10.Location = new System.Drawing.Point(36, 430);
|
||||||
|
this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label10.Name = "label10";
|
||||||
|
this.label10.Size = new System.Drawing.Size(290, 40);
|
||||||
|
this.label10.TabIndex = 49;
|
||||||
|
this.label10.Text = "Fecha de Contratación:";
|
||||||
|
//
|
||||||
|
// dtFechaCon
|
||||||
|
//
|
||||||
|
this.dtFechaCon.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.dtFechaCon.Location = new System.Drawing.Point(43, 474);
|
||||||
|
this.dtFechaCon.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.dtFechaCon.Name = "dtFechaCon";
|
||||||
|
this.dtFechaCon.Size = new System.Drawing.Size(231, 42);
|
||||||
|
this.dtFechaCon.TabIndex = 48;
|
||||||
|
//
|
||||||
|
// label9
|
||||||
|
//
|
||||||
|
this.label9.AutoSize = true;
|
||||||
|
this.label9.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label9.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label9.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label9.Location = new System.Drawing.Point(644, 349);
|
||||||
|
this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label9.Name = "label9";
|
||||||
|
this.label9.Size = new System.Drawing.Size(269, 40);
|
||||||
|
this.label9.TabIndex = 47;
|
||||||
|
this.label9.Text = "Fecha de Nacimiento:";
|
||||||
|
//
|
||||||
|
// dtFechaNac
|
||||||
|
//
|
||||||
|
this.dtFechaNac.CalendarFont = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.dtFechaNac.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.dtFechaNac.Location = new System.Drawing.Point(651, 384);
|
||||||
|
this.dtFechaNac.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.dtFechaNac.Name = "dtFechaNac";
|
||||||
|
this.dtFechaNac.Size = new System.Drawing.Size(231, 42);
|
||||||
|
this.dtFechaNac.TabIndex = 46;
|
||||||
|
//
|
||||||
|
// label8
|
||||||
|
//
|
||||||
|
this.label8.AutoSize = true;
|
||||||
|
this.label8.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label8.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label8.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label8.Location = new System.Drawing.Point(341, 344);
|
||||||
|
this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label8.Name = "label8";
|
||||||
|
this.label8.Size = new System.Drawing.Size(146, 40);
|
||||||
|
this.label8.TabIndex = 45;
|
||||||
|
this.label8.Text = "Referencia:";
|
||||||
|
//
|
||||||
|
// label7
|
||||||
|
//
|
||||||
|
this.label7.AutoSize = true;
|
||||||
|
this.label7.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label7.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label7.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label7.Location = new System.Drawing.Point(46, 344);
|
||||||
|
this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label7.Name = "label7";
|
||||||
|
this.label7.Size = new System.Drawing.Size(87, 40);
|
||||||
|
this.label7.TabIndex = 44;
|
||||||
|
this.label7.Text = "No.Int:";
|
||||||
|
//
|
||||||
|
// txtReferencia
|
||||||
|
//
|
||||||
|
this.txtReferencia.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtReferencia.Location = new System.Drawing.Point(348, 384);
|
||||||
|
this.txtReferencia.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtReferencia.Name = "txtReferencia";
|
||||||
|
this.txtReferencia.Size = new System.Drawing.Size(231, 42);
|
||||||
|
this.txtReferencia.TabIndex = 43;
|
||||||
|
//
|
||||||
|
// txtNoInt
|
||||||
|
//
|
||||||
|
this.txtNoInt.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtNoInt.Location = new System.Drawing.Point(43, 384);
|
||||||
|
this.txtNoInt.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtNoInt.Name = "txtNoInt";
|
||||||
|
this.txtNoInt.Size = new System.Drawing.Size(231, 42);
|
||||||
|
this.txtNoInt.TabIndex = 42;
|
||||||
|
//
|
||||||
|
// label6
|
||||||
|
//
|
||||||
|
this.label6.AutoSize = true;
|
||||||
|
this.label6.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label6.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label6.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label6.Location = new System.Drawing.Point(644, 258);
|
||||||
|
this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label6.Name = "label6";
|
||||||
|
this.label6.Size = new System.Drawing.Size(142, 40);
|
||||||
|
this.label6.TabIndex = 41;
|
||||||
|
this.label6.Text = "No.Exterior:";
|
||||||
|
//
|
||||||
|
// txtNoExt
|
||||||
|
//
|
||||||
|
this.txtNoExt.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtNoExt.Location = new System.Drawing.Point(651, 298);
|
||||||
|
this.txtNoExt.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtNoExt.Name = "txtNoExt";
|
||||||
|
this.txtNoExt.Size = new System.Drawing.Size(231, 42);
|
||||||
|
this.txtNoExt.TabIndex = 40;
|
||||||
|
//
|
||||||
|
// label5
|
||||||
|
//
|
||||||
|
this.label5.AutoSize = true;
|
||||||
|
this.label5.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label5.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label5.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label5.Location = new System.Drawing.Point(341, 258);
|
||||||
|
this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label5.Name = "label5";
|
||||||
|
this.label5.Size = new System.Drawing.Size(184, 40);
|
||||||
|
this.label5.TabIndex = 39;
|
||||||
|
this.label5.Text = "Codigo Postal:";
|
||||||
|
//
|
||||||
|
// txtCp
|
||||||
|
//
|
||||||
|
this.txtCp.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtCp.Location = new System.Drawing.Point(348, 298);
|
||||||
|
this.txtCp.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtCp.Name = "txtCp";
|
||||||
|
this.txtCp.Size = new System.Drawing.Size(231, 42);
|
||||||
|
this.txtCp.TabIndex = 38;
|
||||||
|
//
|
||||||
|
// label4
|
||||||
|
//
|
||||||
|
this.label4.AutoSize = true;
|
||||||
|
this.label4.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label4.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label4.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label4.Location = new System.Drawing.Point(36, 256);
|
||||||
|
this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label4.Name = "label4";
|
||||||
|
this.label4.Size = new System.Drawing.Size(113, 40);
|
||||||
|
this.label4.TabIndex = 37;
|
||||||
|
this.label4.Text = "Colonia:";
|
||||||
|
//
|
||||||
|
// txtColonia
|
||||||
|
//
|
||||||
|
this.txtColonia.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtColonia.Location = new System.Drawing.Point(43, 298);
|
||||||
|
this.txtColonia.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtColonia.Name = "txtColonia";
|
||||||
|
this.txtColonia.Size = new System.Drawing.Size(231, 42);
|
||||||
|
this.txtColonia.TabIndex = 36;
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.AutoSize = true;
|
||||||
|
this.label3.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label3.Font = new System.Drawing.Font("Poppins", 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(644, 171);
|
||||||
|
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(113, 40);
|
||||||
|
this.label3.TabIndex = 35;
|
||||||
|
this.label3.Text = "Colonia:";
|
||||||
|
//
|
||||||
|
// txtCalle
|
||||||
|
//
|
||||||
|
this.txtCalle.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtCalle.Location = new System.Drawing.Point(651, 212);
|
||||||
|
this.txtCalle.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtCalle.Name = "txtCalle";
|
||||||
|
this.txtCalle.Size = new System.Drawing.Size(231, 42);
|
||||||
|
this.txtCalle.TabIndex = 34;
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.AutoSize = true;
|
||||||
|
this.label2.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label2.Font = new System.Drawing.Font("Poppins", 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(341, 171);
|
||||||
|
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(128, 40);
|
||||||
|
this.label2.TabIndex = 33;
|
||||||
|
this.label2.Text = "Apellidos:";
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label1.Font = new System.Drawing.Font("Poppins", 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(36, 171);
|
||||||
|
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(128, 40);
|
||||||
|
this.label1.TabIndex = 32;
|
||||||
|
this.label1.Text = "Nombres:";
|
||||||
|
//
|
||||||
|
// txtApellido
|
||||||
|
//
|
||||||
|
this.txtApellido.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtApellido.Location = new System.Drawing.Point(348, 212);
|
||||||
|
this.txtApellido.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtApellido.Name = "txtApellido";
|
||||||
|
this.txtApellido.Size = new System.Drawing.Size(231, 42);
|
||||||
|
this.txtApellido.TabIndex = 31;
|
||||||
|
//
|
||||||
|
// txtNombre
|
||||||
|
//
|
||||||
|
this.txtNombre.Font = new System.Drawing.Font("Poppins", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtNombre.Location = new System.Drawing.Point(43, 215);
|
||||||
|
this.txtNombre.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtNombre.Name = "txtNombre";
|
||||||
|
this.txtNombre.Size = new System.Drawing.Size(231, 37);
|
||||||
|
this.txtNombre.TabIndex = 30;
|
||||||
|
//
|
||||||
|
// label13
|
||||||
|
//
|
||||||
|
this.label13.AutoSize = true;
|
||||||
|
this.label13.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label13.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label13.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label13.Location = new System.Drawing.Point(353, 131);
|
||||||
|
this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label13.Name = "label13";
|
||||||
|
this.label13.Size = new System.Drawing.Size(237, 40);
|
||||||
|
this.label13.TabIndex = 58;
|
||||||
|
this.label13.Text = "Agregar Empleado";
|
||||||
|
this.label13.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||||
|
//
|
||||||
|
// AgregarEmpleado1
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||||
|
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(942, 627);
|
||||||
|
this.Controls.Add(this.label13);
|
||||||
|
this.Controls.Add(this.button1);
|
||||||
|
this.Controls.Add(this.lbImg);
|
||||||
|
this.Controls.Add(this.pictureBox2);
|
||||||
|
this.Controls.Add(this.pictureBox1);
|
||||||
|
this.Controls.Add(this.label12);
|
||||||
|
this.Controls.Add(this.cbEstado);
|
||||||
|
this.Controls.Add(this.label11);
|
||||||
|
this.Controls.Add(this.txtTelefono);
|
||||||
|
this.Controls.Add(this.label10);
|
||||||
|
this.Controls.Add(this.dtFechaCon);
|
||||||
|
this.Controls.Add(this.label9);
|
||||||
|
this.Controls.Add(this.dtFechaNac);
|
||||||
|
this.Controls.Add(this.label8);
|
||||||
|
this.Controls.Add(this.label7);
|
||||||
|
this.Controls.Add(this.txtReferencia);
|
||||||
|
this.Controls.Add(this.txtNoInt);
|
||||||
|
this.Controls.Add(this.label6);
|
||||||
|
this.Controls.Add(this.txtNoExt);
|
||||||
|
this.Controls.Add(this.label5);
|
||||||
|
this.Controls.Add(this.txtCp);
|
||||||
|
this.Controls.Add(this.label4);
|
||||||
|
this.Controls.Add(this.txtColonia);
|
||||||
|
this.Controls.Add(this.label3);
|
||||||
|
this.Controls.Add(this.txtCalle);
|
||||||
|
this.Controls.Add(this.label2);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Controls.Add(this.txtApellido);
|
||||||
|
this.Controls.Add(this.txtNombre);
|
||||||
|
this.DoubleBuffered = true;
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||||
|
this.Name = "AgregarEmpleado1";
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
this.Text = "AgregarEmpleado1";
|
||||||
|
this.Load += new System.EventHandler(this.AgregarEmpleado1_Load);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
private System.Windows.Forms.Label lbImg;
|
||||||
|
private System.Windows.Forms.PictureBox pictureBox2;
|
||||||
|
private System.Windows.Forms.PictureBox pictureBox1;
|
||||||
|
private System.Windows.Forms.Label label12;
|
||||||
|
private System.Windows.Forms.ComboBox cbEstado;
|
||||||
|
private System.Windows.Forms.Label label11;
|
||||||
|
private System.Windows.Forms.TextBox txtTelefono;
|
||||||
|
private System.Windows.Forms.Label label10;
|
||||||
|
private System.Windows.Forms.DateTimePicker dtFechaCon;
|
||||||
|
private System.Windows.Forms.Label label9;
|
||||||
|
private System.Windows.Forms.DateTimePicker dtFechaNac;
|
||||||
|
private System.Windows.Forms.Label label8;
|
||||||
|
private System.Windows.Forms.Label label7;
|
||||||
|
private System.Windows.Forms.TextBox txtReferencia;
|
||||||
|
private System.Windows.Forms.TextBox txtNoInt;
|
||||||
|
private System.Windows.Forms.Label label6;
|
||||||
|
private System.Windows.Forms.TextBox txtNoExt;
|
||||||
|
private System.Windows.Forms.Label label5;
|
||||||
|
private System.Windows.Forms.TextBox txtCp;
|
||||||
|
private System.Windows.Forms.Label label4;
|
||||||
|
private System.Windows.Forms.TextBox txtColonia;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.TextBox txtCalle;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.TextBox txtApellido;
|
||||||
|
private System.Windows.Forms.TextBox txtNombre;
|
||||||
|
private System.Windows.Forms.Label label13;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,86 @@
|
|||||||
|
using compabetov2.database.modelos;
|
||||||
|
using compabetov2.database;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace compabetov2.Empleados
|
||||||
|
{
|
||||||
|
public partial class AgregarEmpleado1 : Form
|
||||||
|
{
|
||||||
|
private personal ventanaPersonal;
|
||||||
|
private string imagenPath = "";
|
||||||
|
public AgregarEmpleado1(personal ventanaPersonal)
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
this.ventanaPersonal = ventanaPersonal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private void pictureBox2_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string nombre = txtNombre.Text;
|
||||||
|
string apellidos = txtApellido.Text;
|
||||||
|
string calle = txtCalle.Text;
|
||||||
|
string fechaCon = dtFechaCon.Text;
|
||||||
|
string estado = cbEstado.Text;
|
||||||
|
string colonia = txtColonia.Text;
|
||||||
|
string cp = txtCp.Text;
|
||||||
|
string noExt = txtNoExt.Text;
|
||||||
|
string noInt = txtNoInt.Text;
|
||||||
|
string referencia = txtReferencia.Text;
|
||||||
|
string fechaNac = dtFechaNac.Text;
|
||||||
|
string telefono = txtTelefono.Text;
|
||||||
|
|
||||||
|
Empleado empleado = new Empleado(-1, nombre, apellidos, calle, fechaCon, estado, colonia
|
||||||
|
, cp, noExt, noInt, referencia, fechaNac, telefono, Path.GetFileName(imagenPath));
|
||||||
|
|
||||||
|
if (service.insertarEmpleado(empleado))
|
||||||
|
{
|
||||||
|
if (!imagenPath.Equals(""))
|
||||||
|
{
|
||||||
|
string destinationFolder = Path.Combine(Application.StartupPath, "Resources", "usuarios");
|
||||||
|
string destinationFile = Path.Combine(destinationFolder, Path.GetFileName(imagenPath));
|
||||||
|
File.Copy(imagenPath, destinationFile, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
ventanaPersonal.llenarPanel();
|
||||||
|
Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
OpenFileDialog openFileDialog1 = new OpenFileDialog();
|
||||||
|
|
||||||
|
openFileDialog1.Filter = "Archivos de imagen (*.jpg, *.jpeg, *.png, *.bmp)|*.jpg;*.jpeg;*.png;*.bmp";
|
||||||
|
openFileDialog1.Title = "Seleccionar imagen";
|
||||||
|
|
||||||
|
if (openFileDialog1.ShowDialog() == DialogResult.OK)
|
||||||
|
{
|
||||||
|
imagenPath = openFileDialog1.FileName;
|
||||||
|
lbImg.Text = $"Imagen: {Path.GetFileName(imagenPath)}";
|
||||||
|
string destinationFolder = Path.Combine(Application.StartupPath, "Resources", "usuarios");
|
||||||
|
//string destinationFile = Path.Combine(destinationFolder, Path.GetFileName(sourceFile));
|
||||||
|
//File.Copy(sourceFile, destinationFile, true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void AgregarEmpleado1_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pictureBox1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,120 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
Generated
+18
-17
@@ -64,7 +64,7 @@
|
|||||||
this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel4, 0, 3);
|
this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel4, 0, 3);
|
||||||
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||||
this.tableLayoutPanel1.RowCount = 5;
|
this.tableLayoutPanel1.RowCount = 5;
|
||||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 51.07914F));
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 51.07914F));
|
||||||
@@ -80,12 +80,12 @@
|
|||||||
this.tableLayoutPanel2.ColumnCount = 3;
|
this.tableLayoutPanel2.ColumnCount = 3;
|
||||||
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 63.52941F));
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 63.52941F));
|
||||||
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 36.47059F));
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 36.47059F));
|
||||||
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 125F));
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 126F));
|
||||||
this.tableLayoutPanel2.Controls.Add(this.btnAceptar, 1, 0);
|
this.tableLayoutPanel2.Controls.Add(this.btnAceptar, 1, 0);
|
||||||
this.tableLayoutPanel2.Controls.Add(this.btnCancelar, 2, 0);
|
this.tableLayoutPanel2.Controls.Add(this.btnCancelar, 2, 0);
|
||||||
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.tableLayoutPanel2.Location = new System.Drawing.Point(4, 389);
|
this.tableLayoutPanel2.Location = new System.Drawing.Point(4, 389);
|
||||||
this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
|
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
|
||||||
this.tableLayoutPanel2.RowCount = 1;
|
this.tableLayoutPanel2.RowCount = 1;
|
||||||
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||||
@@ -97,8 +97,8 @@
|
|||||||
//
|
//
|
||||||
this.btnAceptar.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.btnAceptar.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.btnAceptar.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.btnAceptar.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.btnAceptar.Location = new System.Drawing.Point(219, 4);
|
this.btnAceptar.Location = new System.Drawing.Point(218, 4);
|
||||||
this.btnAceptar.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.btnAceptar.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.btnAceptar.Name = "btnAceptar";
|
this.btnAceptar.Name = "btnAceptar";
|
||||||
this.btnAceptar.Size = new System.Drawing.Size(115, 75);
|
this.btnAceptar.Size = new System.Drawing.Size(115, 75);
|
||||||
this.btnAceptar.TabIndex = 0;
|
this.btnAceptar.TabIndex = 0;
|
||||||
@@ -110,10 +110,10 @@
|
|||||||
//
|
//
|
||||||
this.btnCancelar.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.btnCancelar.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.btnCancelar.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.btnCancelar.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.btnCancelar.Location = new System.Drawing.Point(342, 4);
|
this.btnCancelar.Location = new System.Drawing.Point(341, 4);
|
||||||
this.btnCancelar.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.btnCancelar.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.btnCancelar.Name = "btnCancelar";
|
this.btnCancelar.Name = "btnCancelar";
|
||||||
this.btnCancelar.Size = new System.Drawing.Size(118, 75);
|
this.btnCancelar.Size = new System.Drawing.Size(119, 75);
|
||||||
this.btnCancelar.TabIndex = 1;
|
this.btnCancelar.TabIndex = 1;
|
||||||
this.btnCancelar.Text = "Cancelar";
|
this.btnCancelar.Text = "Cancelar";
|
||||||
this.btnCancelar.UseVisualStyleBackColor = true;
|
this.btnCancelar.UseVisualStyleBackColor = true;
|
||||||
@@ -125,7 +125,7 @@
|
|||||||
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
||||||
this.flowLayoutPanel1.Location = new System.Drawing.Point(4, 4);
|
this.flowLayoutPanel1.Location = new System.Drawing.Point(4, 4);
|
||||||
this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
||||||
this.flowLayoutPanel1.Size = new System.Drawing.Size(464, 93);
|
this.flowLayoutPanel1.Size = new System.Drawing.Size(464, 93);
|
||||||
this.flowLayoutPanel1.TabIndex = 0;
|
this.flowLayoutPanel1.TabIndex = 0;
|
||||||
@@ -146,7 +146,7 @@
|
|||||||
//
|
//
|
||||||
this.txtNombre.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
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(4, 45);
|
this.txtNombre.Location = new System.Drawing.Point(4, 45);
|
||||||
this.txtNombre.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.txtNombre.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.txtNombre.Name = "txtNombre";
|
this.txtNombre.Name = "txtNombre";
|
||||||
this.txtNombre.Size = new System.Drawing.Size(459, 30);
|
this.txtNombre.Size = new System.Drawing.Size(459, 30);
|
||||||
this.txtNombre.TabIndex = 1;
|
this.txtNombre.TabIndex = 1;
|
||||||
@@ -158,7 +158,7 @@
|
|||||||
this.flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.flowLayoutPanel2.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
this.flowLayoutPanel2.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
||||||
this.flowLayoutPanel2.Location = new System.Drawing.Point(4, 105);
|
this.flowLayoutPanel2.Location = new System.Drawing.Point(4, 105);
|
||||||
this.flowLayoutPanel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.flowLayoutPanel2.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.flowLayoutPanel2.Name = "flowLayoutPanel2";
|
this.flowLayoutPanel2.Name = "flowLayoutPanel2";
|
||||||
this.flowLayoutPanel2.Size = new System.Drawing.Size(464, 88);
|
this.flowLayoutPanel2.Size = new System.Drawing.Size(464, 88);
|
||||||
this.flowLayoutPanel2.TabIndex = 1;
|
this.flowLayoutPanel2.TabIndex = 1;
|
||||||
@@ -179,7 +179,7 @@
|
|||||||
//
|
//
|
||||||
this.txtContra.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.txtContra.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.txtContra.Location = new System.Drawing.Point(4, 45);
|
this.txtContra.Location = new System.Drawing.Point(4, 45);
|
||||||
this.txtContra.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.txtContra.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.txtContra.Name = "txtContra";
|
this.txtContra.Name = "txtContra";
|
||||||
this.txtContra.PasswordChar = '*';
|
this.txtContra.PasswordChar = '*';
|
||||||
this.txtContra.Size = new System.Drawing.Size(459, 30);
|
this.txtContra.Size = new System.Drawing.Size(459, 30);
|
||||||
@@ -192,7 +192,7 @@
|
|||||||
this.flowLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.flowLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.flowLayoutPanel3.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
this.flowLayoutPanel3.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
||||||
this.flowLayoutPanel3.Location = new System.Drawing.Point(4, 201);
|
this.flowLayoutPanel3.Location = new System.Drawing.Point(4, 201);
|
||||||
this.flowLayoutPanel3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.flowLayoutPanel3.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.flowLayoutPanel3.Name = "flowLayoutPanel3";
|
this.flowLayoutPanel3.Name = "flowLayoutPanel3";
|
||||||
this.flowLayoutPanel3.Size = new System.Drawing.Size(464, 93);
|
this.flowLayoutPanel3.Size = new System.Drawing.Size(464, 93);
|
||||||
this.flowLayoutPanel3.TabIndex = 2;
|
this.flowLayoutPanel3.TabIndex = 2;
|
||||||
@@ -213,7 +213,7 @@
|
|||||||
//
|
//
|
||||||
this.txtContraConf.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.txtContraConf.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.txtContraConf.Location = new System.Drawing.Point(4, 45);
|
this.txtContraConf.Location = new System.Drawing.Point(4, 45);
|
||||||
this.txtContraConf.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.txtContraConf.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.txtContraConf.Name = "txtContraConf";
|
this.txtContraConf.Name = "txtContraConf";
|
||||||
this.txtContraConf.PasswordChar = '*';
|
this.txtContraConf.PasswordChar = '*';
|
||||||
this.txtContraConf.Size = new System.Drawing.Size(455, 30);
|
this.txtContraConf.Size = new System.Drawing.Size(455, 30);
|
||||||
@@ -226,7 +226,7 @@
|
|||||||
this.flowLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.flowLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.flowLayoutPanel4.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
this.flowLayoutPanel4.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
||||||
this.flowLayoutPanel4.Location = new System.Drawing.Point(4, 302);
|
this.flowLayoutPanel4.Location = new System.Drawing.Point(4, 302);
|
||||||
this.flowLayoutPanel4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.flowLayoutPanel4.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.flowLayoutPanel4.Name = "flowLayoutPanel4";
|
this.flowLayoutPanel4.Name = "flowLayoutPanel4";
|
||||||
this.flowLayoutPanel4.Size = new System.Drawing.Size(464, 79);
|
this.flowLayoutPanel4.Size = new System.Drawing.Size(464, 79);
|
||||||
this.flowLayoutPanel4.TabIndex = 5;
|
this.flowLayoutPanel4.TabIndex = 5;
|
||||||
@@ -250,7 +250,7 @@
|
|||||||
"admin",
|
"admin",
|
||||||
"empleado"});
|
"empleado"});
|
||||||
this.cbTipo.Location = new System.Drawing.Point(4, 29);
|
this.cbTipo.Location = new System.Drawing.Point(4, 29);
|
||||||
this.cbTipo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.cbTipo.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.cbTipo.Name = "cbTipo";
|
this.cbTipo.Name = "cbTipo";
|
||||||
this.cbTipo.Size = new System.Drawing.Size(160, 33);
|
this.cbTipo.Size = new System.Drawing.Size(160, 33);
|
||||||
this.cbTipo.TabIndex = 1;
|
this.cbTipo.TabIndex = 1;
|
||||||
@@ -262,9 +262,10 @@
|
|||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(472, 476);
|
this.ClientSize = new System.Drawing.Size(472, 476);
|
||||||
this.Controls.Add(this.tableLayoutPanel1);
|
this.Controls.Add(this.tableLayoutPanel1);
|
||||||
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.Name = "AgregarLogin";
|
this.Name = "AgregarLogin";
|
||||||
this.Text = "Crear Login";
|
this.Text = "Crear Login";
|
||||||
|
this.Load += new System.EventHandler(this.AgregarLogin_Load);
|
||||||
this.tableLayoutPanel1.ResumeLayout(false);
|
this.tableLayoutPanel1.ResumeLayout(false);
|
||||||
this.tableLayoutPanel2.ResumeLayout(false);
|
this.tableLayoutPanel2.ResumeLayout(false);
|
||||||
this.flowLayoutPanel1.ResumeLayout(false);
|
this.flowLayoutPanel1.ResumeLayout(false);
|
||||||
|
|||||||
@@ -57,5 +57,10 @@ namespace compabetov2
|
|||||||
MessageBox.Show("Las cotraseña no coinciden", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
MessageBox.Show("Las cotraseña no coinciden", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void AgregarLogin_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+224
@@ -0,0 +1,224 @@
|
|||||||
|
namespace compabetov2.Empleados
|
||||||
|
{
|
||||||
|
partial class AgregarLogin1
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.txtNombre = new System.Windows.Forms.TextBox();
|
||||||
|
this.txtContra = new System.Windows.Forms.TextBox();
|
||||||
|
this.txtContraConf = new System.Windows.Forms.TextBox();
|
||||||
|
this.cbTipo = new System.Windows.Forms.ComboBox();
|
||||||
|
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
|
this.label5 = new System.Windows.Forms.Label();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// txtNombre
|
||||||
|
//
|
||||||
|
this.txtNombre.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtNombre.Location = new System.Drawing.Point(237, 253);
|
||||||
|
this.txtNombre.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtNombre.Name = "txtNombre";
|
||||||
|
this.txtNombre.Size = new System.Drawing.Size(459, 42);
|
||||||
|
this.txtNombre.TabIndex = 2;
|
||||||
|
//
|
||||||
|
// txtContra
|
||||||
|
//
|
||||||
|
this.txtContra.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtContra.Location = new System.Drawing.Point(237, 347);
|
||||||
|
this.txtContra.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtContra.Name = "txtContra";
|
||||||
|
this.txtContra.PasswordChar = '*';
|
||||||
|
this.txtContra.Size = new System.Drawing.Size(459, 42);
|
||||||
|
this.txtContra.TabIndex = 3;
|
||||||
|
//
|
||||||
|
// txtContraConf
|
||||||
|
//
|
||||||
|
this.txtContraConf.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtContraConf.Location = new System.Drawing.Point(237, 439);
|
||||||
|
this.txtContraConf.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtContraConf.Name = "txtContraConf";
|
||||||
|
this.txtContraConf.PasswordChar = '*';
|
||||||
|
this.txtContraConf.Size = new System.Drawing.Size(455, 42);
|
||||||
|
this.txtContraConf.TabIndex = 4;
|
||||||
|
//
|
||||||
|
// cbTipo
|
||||||
|
//
|
||||||
|
this.cbTipo.Font = new System.Drawing.Font("Poppins", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.cbTipo.FormattingEnabled = true;
|
||||||
|
this.cbTipo.Items.AddRange(new object[] {
|
||||||
|
"admin",
|
||||||
|
"empleado"});
|
||||||
|
this.cbTipo.Location = new System.Drawing.Point(309, 502);
|
||||||
|
this.cbTipo.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.cbTipo.Name = "cbTipo";
|
||||||
|
this.cbTipo.Size = new System.Drawing.Size(160, 44);
|
||||||
|
this.cbTipo.TabIndex = 5;
|
||||||
|
this.cbTipo.Text = "empleado";
|
||||||
|
//
|
||||||
|
// pictureBox2
|
||||||
|
//
|
||||||
|
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(487, 497);
|
||||||
|
this.pictureBox2.Name = "pictureBox2";
|
||||||
|
this.pictureBox2.Size = new System.Drawing.Size(100, 69);
|
||||||
|
this.pictureBox2.TabIndex = 24;
|
||||||
|
this.pictureBox2.TabStop = false;
|
||||||
|
this.pictureBox2.Click += new System.EventHandler(this.pictureBox2_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(596, 497);
|
||||||
|
this.pictureBox1.Name = "pictureBox1";
|
||||||
|
this.pictureBox1.Size = new System.Drawing.Size(100, 69);
|
||||||
|
this.pictureBox1.TabIndex = 23;
|
||||||
|
this.pictureBox1.TabStop = false;
|
||||||
|
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label1.Font = new System.Drawing.Font("Poppins", 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(340, 209);
|
||||||
|
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(247, 40);
|
||||||
|
this.label1.TabIndex = 25;
|
||||||
|
this.label1.Text = "Nombre de Usuario:";
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.AutoSize = true;
|
||||||
|
this.label2.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label2.Font = new System.Drawing.Font("Poppins", 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(377, 303);
|
||||||
|
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(160, 40);
|
||||||
|
this.label2.TabIndex = 26;
|
||||||
|
this.label2.Text = "Contraseña:";
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.AutoSize = true;
|
||||||
|
this.label3.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label3.Font = new System.Drawing.Font("Poppins", 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(320, 395);
|
||||||
|
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(282, 40);
|
||||||
|
this.label3.TabIndex = 27;
|
||||||
|
this.label3.Text = "Confirmar contraseña:";
|
||||||
|
//
|
||||||
|
// label4
|
||||||
|
//
|
||||||
|
this.label4.AutoSize = true;
|
||||||
|
this.label4.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label4.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label4.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label4.Location = new System.Drawing.Point(230, 502);
|
||||||
|
this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label4.Name = "label4";
|
||||||
|
this.label4.Size = new System.Drawing.Size(71, 40);
|
||||||
|
this.label4.TabIndex = 28;
|
||||||
|
this.label4.Text = "Tipo:";
|
||||||
|
//
|
||||||
|
// label5
|
||||||
|
//
|
||||||
|
this.label5.AutoSize = true;
|
||||||
|
this.label5.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label5.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label5.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label5.Location = new System.Drawing.Point(377, 148);
|
||||||
|
this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label5.Name = "label5";
|
||||||
|
this.label5.Size = new System.Drawing.Size(180, 40);
|
||||||
|
this.label5.TabIndex = 29;
|
||||||
|
this.label5.Text = "Agregar Login";
|
||||||
|
//
|
||||||
|
// AgregarLogin1
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||||
|
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(933, 669);
|
||||||
|
this.ControlBox = false;
|
||||||
|
this.Controls.Add(this.label5);
|
||||||
|
this.Controls.Add(this.label4);
|
||||||
|
this.Controls.Add(this.label3);
|
||||||
|
this.Controls.Add(this.label2);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Controls.Add(this.pictureBox2);
|
||||||
|
this.Controls.Add(this.pictureBox1);
|
||||||
|
this.Controls.Add(this.cbTipo);
|
||||||
|
this.Controls.Add(this.txtContraConf);
|
||||||
|
this.Controls.Add(this.txtContra);
|
||||||
|
this.Controls.Add(this.txtNombre);
|
||||||
|
this.DoubleBuffered = true;
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||||
|
this.Name = "AgregarLogin1";
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
this.Load += new System.EventHandler(this.AgregarLogin1_Load);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.TextBox txtNombre;
|
||||||
|
private System.Windows.Forms.TextBox txtContra;
|
||||||
|
private System.Windows.Forms.TextBox txtContraConf;
|
||||||
|
private System.Windows.Forms.ComboBox cbTipo;
|
||||||
|
private System.Windows.Forms.PictureBox pictureBox2;
|
||||||
|
private System.Windows.Forms.PictureBox pictureBox1;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.Label label4;
|
||||||
|
private System.Windows.Forms.Label label5;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,69 @@
|
|||||||
|
using compabetov2.database.modelos;
|
||||||
|
using compabetov2.database;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace compabetov2.Empleados
|
||||||
|
{
|
||||||
|
public partial class AgregarLogin1 : Form
|
||||||
|
{
|
||||||
|
personal ventanaPadre;
|
||||||
|
int idEmpleado;
|
||||||
|
public AgregarLogin1()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
InitializeComponent();
|
||||||
|
this.ventanaPadre = ventanaPadre;
|
||||||
|
this.idEmpleado = idEmpleado;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void AgregarLogin1_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pictureBox2_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string contra = txtContra.Text;
|
||||||
|
string contraConf = txtContraConf.Text;
|
||||||
|
if (contra.Equals(contraConf))
|
||||||
|
{
|
||||||
|
string tipo = cbTipo.Text;
|
||||||
|
string nombre = txtNombre.Text;
|
||||||
|
LoginModel loginModel = new LoginModel(nombre, contra, tipo, idEmpleado);
|
||||||
|
if (service.verificarExistenciaLogin(loginModel))
|
||||||
|
{
|
||||||
|
if (service.crearLogin(loginModel, idEmpleado))
|
||||||
|
{
|
||||||
|
ventanaPadre.llenarPanel();
|
||||||
|
Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
MessageBox.Show("El nombre de usuario ya existe", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
MessageBox.Show("Las cotraseña no coinciden", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pictureBox1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,120 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
Generated
+186
-139
@@ -32,6 +32,9 @@ namespace compabetov2
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
|
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.btnCancelar = new System.Windows.Forms.Button();
|
||||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
||||||
this.lbNombre = new System.Windows.Forms.Label();
|
this.lbNombre = new System.Windows.Forms.Label();
|
||||||
@@ -69,13 +72,11 @@ namespace compabetov2
|
|||||||
this.flowLayoutPanel13 = new System.Windows.Forms.FlowLayoutPanel();
|
this.flowLayoutPanel13 = new System.Windows.Forms.FlowLayoutPanel();
|
||||||
this.label8 = new System.Windows.Forms.Label();
|
this.label8 = new System.Windows.Forms.Label();
|
||||||
this.cbEstado = new System.Windows.Forms.ComboBox();
|
this.cbEstado = new System.Windows.Forms.ComboBox();
|
||||||
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
|
|
||||||
this.button1 = new System.Windows.Forms.Button();
|
|
||||||
this.btnCancelar = new System.Windows.Forms.Button();
|
|
||||||
this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel();
|
this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel();
|
||||||
this.btnImg = new System.Windows.Forms.Button();
|
this.btnImg = new System.Windows.Forms.Button();
|
||||||
this.lbImg = new System.Windows.Forms.Label();
|
this.lbImg = new System.Windows.Forms.Label();
|
||||||
this.tableLayoutPanel1.SuspendLayout();
|
this.tableLayoutPanel1.SuspendLayout();
|
||||||
|
this.tableLayoutPanel3.SuspendLayout();
|
||||||
this.tableLayoutPanel2.SuspendLayout();
|
this.tableLayoutPanel2.SuspendLayout();
|
||||||
this.flowLayoutPanel1.SuspendLayout();
|
this.flowLayoutPanel1.SuspendLayout();
|
||||||
this.flowLayoutPanel3.SuspendLayout();
|
this.flowLayoutPanel3.SuspendLayout();
|
||||||
@@ -89,7 +90,6 @@ namespace compabetov2
|
|||||||
this.flowLayoutPanel11.SuspendLayout();
|
this.flowLayoutPanel11.SuspendLayout();
|
||||||
this.flowLayoutPanel12.SuspendLayout();
|
this.flowLayoutPanel12.SuspendLayout();
|
||||||
this.flowLayoutPanel13.SuspendLayout();
|
this.flowLayoutPanel13.SuspendLayout();
|
||||||
this.tableLayoutPanel3.SuspendLayout();
|
|
||||||
this.flowLayoutPanel2.SuspendLayout();
|
this.flowLayoutPanel2.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
@@ -103,24 +103,69 @@ namespace compabetov2
|
|||||||
this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel2, 0, 1);
|
this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel2, 0, 1);
|
||||||
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||||
this.tableLayoutPanel1.RowCount = 3;
|
this.tableLayoutPanel1.RowCount = 3;
|
||||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 89.64646F));
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 89.64646F));
|
||||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10.35354F));
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10.35354F));
|
||||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 70F));
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 86F));
|
||||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(800, 508);
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(1067, 625);
|
||||||
this.tableLayoutPanel1.TabIndex = 0;
|
this.tableLayoutPanel1.TabIndex = 0;
|
||||||
this.tableLayoutPanel1.Paint += new System.Windows.Forms.PaintEventHandler(this.tableLayoutPanel1_Paint);
|
this.tableLayoutPanel1.Paint += new System.Windows.Forms.PaintEventHandler(this.tableLayoutPanel1_Paint);
|
||||||
//
|
//
|
||||||
|
// tableLayoutPanel3
|
||||||
|
//
|
||||||
|
this.tableLayoutPanel3.ColumnCount = 3;
|
||||||
|
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 83.87574F));
|
||||||
|
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.12426F));
|
||||||
|
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 148F));
|
||||||
|
this.tableLayoutPanel3.Controls.Add(this.button1, 1, 0);
|
||||||
|
this.tableLayoutPanel3.Controls.Add(this.btnCancelar, 2, 0);
|
||||||
|
this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.tableLayoutPanel3.Location = new System.Drawing.Point(4, 542);
|
||||||
|
this.tableLayoutPanel3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
|
this.tableLayoutPanel3.Name = "tableLayoutPanel3";
|
||||||
|
this.tableLayoutPanel3.RowCount = 1;
|
||||||
|
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||||
|
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||||
|
this.tableLayoutPanel3.Size = new System.Drawing.Size(1059, 79);
|
||||||
|
this.tableLayoutPanel3.TabIndex = 3;
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.button1.Location = new System.Drawing.Point(768, 4);
|
||||||
|
this.button1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(138, 71);
|
||||||
|
this.button1.TabIndex = 0;
|
||||||
|
this.button1.Text = "Editar";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.button1_Click_1);
|
||||||
|
//
|
||||||
|
// btnCancelar
|
||||||
|
//
|
||||||
|
this.btnCancelar.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.btnCancelar.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.btnCancelar.Location = new System.Drawing.Point(914, 4);
|
||||||
|
this.btnCancelar.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
|
this.btnCancelar.Name = "btnCancelar";
|
||||||
|
this.btnCancelar.Size = new System.Drawing.Size(141, 71);
|
||||||
|
this.btnCancelar.TabIndex = 1;
|
||||||
|
this.btnCancelar.Text = "Cancelar";
|
||||||
|
this.btnCancelar.UseVisualStyleBackColor = true;
|
||||||
|
this.btnCancelar.Click += new System.EventHandler(this.btnCancelar_Click_1);
|
||||||
|
//
|
||||||
// tableLayoutPanel2
|
// tableLayoutPanel2
|
||||||
//
|
//
|
||||||
this.tableLayoutPanel2.ColumnCount = 2;
|
this.tableLayoutPanel2.ColumnCount = 2;
|
||||||
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||||
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||||
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 27F));
|
||||||
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 27F));
|
||||||
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 27F));
|
||||||
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 27F));
|
||||||
this.tableLayoutPanel2.Controls.Add(this.flowLayoutPanel1, 0, 0);
|
this.tableLayoutPanel2.Controls.Add(this.flowLayoutPanel1, 0, 0);
|
||||||
this.tableLayoutPanel2.Controls.Add(this.flowLayoutPanel3, 1, 0);
|
this.tableLayoutPanel2.Controls.Add(this.flowLayoutPanel3, 1, 0);
|
||||||
this.tableLayoutPanel2.Controls.Add(this.flowLayoutPanel4, 0, 1);
|
this.tableLayoutPanel2.Controls.Add(this.flowLayoutPanel4, 0, 1);
|
||||||
@@ -134,16 +179,17 @@ namespace compabetov2
|
|||||||
this.tableLayoutPanel2.Controls.Add(this.flowLayoutPanel12, 1, 4);
|
this.tableLayoutPanel2.Controls.Add(this.flowLayoutPanel12, 1, 4);
|
||||||
this.tableLayoutPanel2.Controls.Add(this.flowLayoutPanel13, 1, 5);
|
this.tableLayoutPanel2.Controls.Add(this.flowLayoutPanel13, 1, 5);
|
||||||
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 3);
|
this.tableLayoutPanel2.Location = new System.Drawing.Point(4, 4);
|
||||||
|
this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
|
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
|
||||||
this.tableLayoutPanel2.RowCount = 6;
|
this.tableLayoutPanel2.RowCount = 6;
|
||||||
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 47.40741F));
|
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 47.40741F));
|
||||||
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 52.59259F));
|
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 52.59259F));
|
||||||
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 71F));
|
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 87F));
|
||||||
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 63F));
|
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 78F));
|
||||||
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 60F));
|
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 74F));
|
||||||
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 55F));
|
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 68F));
|
||||||
this.tableLayoutPanel2.Size = new System.Drawing.Size(794, 386);
|
this.tableLayoutPanel2.Size = new System.Drawing.Size(1059, 475);
|
||||||
this.tableLayoutPanel2.TabIndex = 1;
|
this.tableLayoutPanel2.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// flowLayoutPanel1
|
// flowLayoutPanel1
|
||||||
@@ -152,27 +198,30 @@ namespace compabetov2
|
|||||||
this.flowLayoutPanel1.Controls.Add(this.txtNombre);
|
this.flowLayoutPanel1.Controls.Add(this.txtNombre);
|
||||||
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
||||||
this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 3);
|
this.flowLayoutPanel1.Location = new System.Drawing.Point(4, 4);
|
||||||
|
this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
||||||
this.flowLayoutPanel1.Size = new System.Drawing.Size(391, 58);
|
this.flowLayoutPanel1.Size = new System.Drawing.Size(521, 71);
|
||||||
this.flowLayoutPanel1.TabIndex = 0;
|
this.flowLayoutPanel1.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// lbNombre
|
// lbNombre
|
||||||
//
|
//
|
||||||
this.lbNombre.AutoSize = true;
|
this.lbNombre.AutoSize = true;
|
||||||
this.lbNombre.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.lbNombre.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.lbNombre.Location = new System.Drawing.Point(3, 0);
|
this.lbNombre.Location = new System.Drawing.Point(4, 0);
|
||||||
|
this.lbNombre.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.lbNombre.Name = "lbNombre";
|
this.lbNombre.Name = "lbNombre";
|
||||||
this.lbNombre.Size = new System.Drawing.Size(69, 20);
|
this.lbNombre.Size = new System.Drawing.Size(87, 25);
|
||||||
this.lbNombre.TabIndex = 0;
|
this.lbNombre.TabIndex = 0;
|
||||||
this.lbNombre.Text = "Nombre:";
|
this.lbNombre.Text = "Nombre:";
|
||||||
//
|
//
|
||||||
// txtNombre
|
// txtNombre
|
||||||
//
|
//
|
||||||
this.txtNombre.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
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(3, 23);
|
this.txtNombre.Location = new System.Drawing.Point(4, 29);
|
||||||
|
this.txtNombre.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.txtNombre.Name = "txtNombre";
|
this.txtNombre.Name = "txtNombre";
|
||||||
this.txtNombre.Size = new System.Drawing.Size(388, 26);
|
this.txtNombre.Size = new System.Drawing.Size(516, 30);
|
||||||
this.txtNombre.TabIndex = 1;
|
this.txtNombre.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// flowLayoutPanel3
|
// flowLayoutPanel3
|
||||||
@@ -181,9 +230,10 @@ namespace compabetov2
|
|||||||
this.flowLayoutPanel3.Controls.Add(this.txtApellido);
|
this.flowLayoutPanel3.Controls.Add(this.txtApellido);
|
||||||
this.flowLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.flowLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.flowLayoutPanel3.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
this.flowLayoutPanel3.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
||||||
this.flowLayoutPanel3.Location = new System.Drawing.Point(400, 3);
|
this.flowLayoutPanel3.Location = new System.Drawing.Point(533, 4);
|
||||||
|
this.flowLayoutPanel3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.flowLayoutPanel3.Name = "flowLayoutPanel3";
|
this.flowLayoutPanel3.Name = "flowLayoutPanel3";
|
||||||
this.flowLayoutPanel3.Size = new System.Drawing.Size(391, 58);
|
this.flowLayoutPanel3.Size = new System.Drawing.Size(522, 71);
|
||||||
this.flowLayoutPanel3.TabIndex = 1;
|
this.flowLayoutPanel3.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// lbApellidos
|
// lbApellidos
|
||||||
@@ -191,18 +241,20 @@ namespace compabetov2
|
|||||||
this.lbApellidos.AutoSize = true;
|
this.lbApellidos.AutoSize = true;
|
||||||
this.lbApellidos.Dock = System.Windows.Forms.DockStyle.Top;
|
this.lbApellidos.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.lbApellidos.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.lbApellidos.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.lbApellidos.Location = new System.Drawing.Point(3, 0);
|
this.lbApellidos.Location = new System.Drawing.Point(4, 0);
|
||||||
|
this.lbApellidos.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.lbApellidos.Name = "lbApellidos";
|
this.lbApellidos.Name = "lbApellidos";
|
||||||
this.lbApellidos.Size = new System.Drawing.Size(388, 20);
|
this.lbApellidos.Size = new System.Drawing.Size(516, 25);
|
||||||
this.lbApellidos.TabIndex = 0;
|
this.lbApellidos.TabIndex = 0;
|
||||||
this.lbApellidos.Text = "Apellidos:";
|
this.lbApellidos.Text = "Apellidos:";
|
||||||
//
|
//
|
||||||
// txtApellido
|
// txtApellido
|
||||||
//
|
//
|
||||||
this.txtApellido.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.txtApellido.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.txtApellido.Location = new System.Drawing.Point(3, 23);
|
this.txtApellido.Location = new System.Drawing.Point(4, 29);
|
||||||
|
this.txtApellido.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.txtApellido.Name = "txtApellido";
|
this.txtApellido.Name = "txtApellido";
|
||||||
this.txtApellido.Size = new System.Drawing.Size(388, 26);
|
this.txtApellido.Size = new System.Drawing.Size(516, 30);
|
||||||
this.txtApellido.TabIndex = 1;
|
this.txtApellido.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// flowLayoutPanel4
|
// flowLayoutPanel4
|
||||||
@@ -211,9 +263,10 @@ namespace compabetov2
|
|||||||
this.flowLayoutPanel4.Controls.Add(this.txtCalle);
|
this.flowLayoutPanel4.Controls.Add(this.txtCalle);
|
||||||
this.flowLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.flowLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.flowLayoutPanel4.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
this.flowLayoutPanel4.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
||||||
this.flowLayoutPanel4.Location = new System.Drawing.Point(3, 67);
|
this.flowLayoutPanel4.Location = new System.Drawing.Point(4, 83);
|
||||||
|
this.flowLayoutPanel4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.flowLayoutPanel4.Name = "flowLayoutPanel4";
|
this.flowLayoutPanel4.Name = "flowLayoutPanel4";
|
||||||
this.flowLayoutPanel4.Size = new System.Drawing.Size(391, 66);
|
this.flowLayoutPanel4.Size = new System.Drawing.Size(521, 80);
|
||||||
this.flowLayoutPanel4.TabIndex = 2;
|
this.flowLayoutPanel4.TabIndex = 2;
|
||||||
//
|
//
|
||||||
// lbCalle
|
// lbCalle
|
||||||
@@ -221,18 +274,20 @@ namespace compabetov2
|
|||||||
this.lbCalle.AutoSize = true;
|
this.lbCalle.AutoSize = true;
|
||||||
this.lbCalle.Dock = System.Windows.Forms.DockStyle.Top;
|
this.lbCalle.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.lbCalle.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.lbCalle.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.lbCalle.Location = new System.Drawing.Point(3, 0);
|
this.lbCalle.Location = new System.Drawing.Point(4, 0);
|
||||||
|
this.lbCalle.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.lbCalle.Name = "lbCalle";
|
this.lbCalle.Name = "lbCalle";
|
||||||
this.lbCalle.Size = new System.Drawing.Size(388, 20);
|
this.lbCalle.Size = new System.Drawing.Size(516, 25);
|
||||||
this.lbCalle.TabIndex = 0;
|
this.lbCalle.TabIndex = 0;
|
||||||
this.lbCalle.Text = "Calle:";
|
this.lbCalle.Text = "Calle:";
|
||||||
//
|
//
|
||||||
// txtCalle
|
// txtCalle
|
||||||
//
|
//
|
||||||
this.txtCalle.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.txtCalle.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.txtCalle.Location = new System.Drawing.Point(3, 23);
|
this.txtCalle.Location = new System.Drawing.Point(4, 29);
|
||||||
|
this.txtCalle.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.txtCalle.Name = "txtCalle";
|
this.txtCalle.Name = "txtCalle";
|
||||||
this.txtCalle.Size = new System.Drawing.Size(388, 26);
|
this.txtCalle.Size = new System.Drawing.Size(516, 30);
|
||||||
this.txtCalle.TabIndex = 1;
|
this.txtCalle.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// flowLayoutPanel5
|
// flowLayoutPanel5
|
||||||
@@ -241,9 +296,10 @@ namespace compabetov2
|
|||||||
this.flowLayoutPanel5.Controls.Add(this.txtCp);
|
this.flowLayoutPanel5.Controls.Add(this.txtCp);
|
||||||
this.flowLayoutPanel5.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.flowLayoutPanel5.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.flowLayoutPanel5.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
this.flowLayoutPanel5.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
||||||
this.flowLayoutPanel5.Location = new System.Drawing.Point(3, 139);
|
this.flowLayoutPanel5.Location = new System.Drawing.Point(4, 171);
|
||||||
|
this.flowLayoutPanel5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.flowLayoutPanel5.Name = "flowLayoutPanel5";
|
this.flowLayoutPanel5.Name = "flowLayoutPanel5";
|
||||||
this.flowLayoutPanel5.Size = new System.Drawing.Size(391, 65);
|
this.flowLayoutPanel5.Size = new System.Drawing.Size(521, 79);
|
||||||
this.flowLayoutPanel5.TabIndex = 3;
|
this.flowLayoutPanel5.TabIndex = 3;
|
||||||
//
|
//
|
||||||
// lbCp
|
// lbCp
|
||||||
@@ -251,18 +307,20 @@ namespace compabetov2
|
|||||||
this.lbCp.AutoSize = true;
|
this.lbCp.AutoSize = true;
|
||||||
this.lbCp.Dock = System.Windows.Forms.DockStyle.Top;
|
this.lbCp.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.lbCp.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.lbCp.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.lbCp.Location = new System.Drawing.Point(3, 0);
|
this.lbCp.Location = new System.Drawing.Point(4, 0);
|
||||||
|
this.lbCp.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.lbCp.Name = "lbCp";
|
this.lbCp.Name = "lbCp";
|
||||||
this.lbCp.Size = new System.Drawing.Size(388, 20);
|
this.lbCp.Size = new System.Drawing.Size(516, 25);
|
||||||
this.lbCp.TabIndex = 0;
|
this.lbCp.TabIndex = 0;
|
||||||
this.lbCp.Text = "Codigo postal:";
|
this.lbCp.Text = "Codigo postal:";
|
||||||
//
|
//
|
||||||
// txtCp
|
// txtCp
|
||||||
//
|
//
|
||||||
this.txtCp.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.txtCp.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.txtCp.Location = new System.Drawing.Point(3, 23);
|
this.txtCp.Location = new System.Drawing.Point(4, 29);
|
||||||
|
this.txtCp.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.txtCp.Name = "txtCp";
|
this.txtCp.Name = "txtCp";
|
||||||
this.txtCp.Size = new System.Drawing.Size(388, 26);
|
this.txtCp.Size = new System.Drawing.Size(516, 30);
|
||||||
this.txtCp.TabIndex = 1;
|
this.txtCp.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// flowLayoutPanel6
|
// flowLayoutPanel6
|
||||||
@@ -271,9 +329,10 @@ namespace compabetov2
|
|||||||
this.flowLayoutPanel6.Controls.Add(this.txtNoInt);
|
this.flowLayoutPanel6.Controls.Add(this.txtNoInt);
|
||||||
this.flowLayoutPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.flowLayoutPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.flowLayoutPanel6.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
this.flowLayoutPanel6.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
||||||
this.flowLayoutPanel6.Location = new System.Drawing.Point(3, 210);
|
this.flowLayoutPanel6.Location = new System.Drawing.Point(4, 258);
|
||||||
|
this.flowLayoutPanel6.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.flowLayoutPanel6.Name = "flowLayoutPanel6";
|
this.flowLayoutPanel6.Name = "flowLayoutPanel6";
|
||||||
this.flowLayoutPanel6.Size = new System.Drawing.Size(391, 57);
|
this.flowLayoutPanel6.Size = new System.Drawing.Size(521, 70);
|
||||||
this.flowLayoutPanel6.TabIndex = 4;
|
this.flowLayoutPanel6.TabIndex = 4;
|
||||||
//
|
//
|
||||||
// label3
|
// label3
|
||||||
@@ -281,18 +340,20 @@ namespace compabetov2
|
|||||||
this.label3.AutoSize = true;
|
this.label3.AutoSize = true;
|
||||||
this.label3.Dock = System.Windows.Forms.DockStyle.Top;
|
this.label3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.label3.Location = new System.Drawing.Point(3, 0);
|
this.label3.Location = new System.Drawing.Point(4, 0);
|
||||||
|
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.label3.Name = "label3";
|
this.label3.Name = "label3";
|
||||||
this.label3.Size = new System.Drawing.Size(388, 20);
|
this.label3.Size = new System.Drawing.Size(516, 25);
|
||||||
this.label3.TabIndex = 0;
|
this.label3.TabIndex = 0;
|
||||||
this.label3.Text = "Numero Interior:";
|
this.label3.Text = "Numero Interior:";
|
||||||
//
|
//
|
||||||
// txtNoInt
|
// txtNoInt
|
||||||
//
|
//
|
||||||
this.txtNoInt.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.txtNoInt.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.txtNoInt.Location = new System.Drawing.Point(3, 23);
|
this.txtNoInt.Location = new System.Drawing.Point(4, 29);
|
||||||
|
this.txtNoInt.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.txtNoInt.Name = "txtNoInt";
|
this.txtNoInt.Name = "txtNoInt";
|
||||||
this.txtNoInt.Size = new System.Drawing.Size(388, 26);
|
this.txtNoInt.Size = new System.Drawing.Size(516, 30);
|
||||||
this.txtNoInt.TabIndex = 1;
|
this.txtNoInt.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// flowLayoutPanel7
|
// flowLayoutPanel7
|
||||||
@@ -301,9 +362,10 @@ namespace compabetov2
|
|||||||
this.flowLayoutPanel7.Controls.Add(this.dtFechaNac);
|
this.flowLayoutPanel7.Controls.Add(this.dtFechaNac);
|
||||||
this.flowLayoutPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.flowLayoutPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.flowLayoutPanel7.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
this.flowLayoutPanel7.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
||||||
this.flowLayoutPanel7.Location = new System.Drawing.Point(3, 273);
|
this.flowLayoutPanel7.Location = new System.Drawing.Point(4, 336);
|
||||||
|
this.flowLayoutPanel7.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.flowLayoutPanel7.Name = "flowLayoutPanel7";
|
this.flowLayoutPanel7.Name = "flowLayoutPanel7";
|
||||||
this.flowLayoutPanel7.Size = new System.Drawing.Size(391, 54);
|
this.flowLayoutPanel7.Size = new System.Drawing.Size(521, 66);
|
||||||
this.flowLayoutPanel7.TabIndex = 5;
|
this.flowLayoutPanel7.TabIndex = 5;
|
||||||
//
|
//
|
||||||
// label5
|
// label5
|
||||||
@@ -311,9 +373,10 @@ namespace compabetov2
|
|||||||
this.label5.AutoSize = true;
|
this.label5.AutoSize = true;
|
||||||
this.label5.Dock = System.Windows.Forms.DockStyle.Top;
|
this.label5.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.label5.Location = new System.Drawing.Point(3, 0);
|
this.label5.Location = new System.Drawing.Point(4, 0);
|
||||||
|
this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.label5.Name = "label5";
|
this.label5.Name = "label5";
|
||||||
this.label5.Size = new System.Drawing.Size(388, 20);
|
this.label5.Size = new System.Drawing.Size(516, 25);
|
||||||
this.label5.TabIndex = 0;
|
this.label5.TabIndex = 0;
|
||||||
this.label5.Text = "Fecha de nacimiento:";
|
this.label5.Text = "Fecha de nacimiento:";
|
||||||
//
|
//
|
||||||
@@ -321,9 +384,10 @@ namespace compabetov2
|
|||||||
//
|
//
|
||||||
this.dtFechaNac.CalendarFont = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.dtFechaNac.CalendarFont = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.dtFechaNac.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.dtFechaNac.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.dtFechaNac.Location = new System.Drawing.Point(3, 23);
|
this.dtFechaNac.Location = new System.Drawing.Point(4, 29);
|
||||||
|
this.dtFechaNac.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.dtFechaNac.Name = "dtFechaNac";
|
this.dtFechaNac.Name = "dtFechaNac";
|
||||||
this.dtFechaNac.Size = new System.Drawing.Size(388, 26);
|
this.dtFechaNac.Size = new System.Drawing.Size(516, 30);
|
||||||
this.dtFechaNac.TabIndex = 1;
|
this.dtFechaNac.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// flowLayoutPanel8
|
// flowLayoutPanel8
|
||||||
@@ -332,9 +396,10 @@ namespace compabetov2
|
|||||||
this.flowLayoutPanel8.Controls.Add(this.txtTelefono);
|
this.flowLayoutPanel8.Controls.Add(this.txtTelefono);
|
||||||
this.flowLayoutPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.flowLayoutPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.flowLayoutPanel8.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
this.flowLayoutPanel8.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
||||||
this.flowLayoutPanel8.Location = new System.Drawing.Point(3, 333);
|
this.flowLayoutPanel8.Location = new System.Drawing.Point(4, 410);
|
||||||
|
this.flowLayoutPanel8.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.flowLayoutPanel8.Name = "flowLayoutPanel8";
|
this.flowLayoutPanel8.Name = "flowLayoutPanel8";
|
||||||
this.flowLayoutPanel8.Size = new System.Drawing.Size(391, 50);
|
this.flowLayoutPanel8.Size = new System.Drawing.Size(521, 61);
|
||||||
this.flowLayoutPanel8.TabIndex = 6;
|
this.flowLayoutPanel8.TabIndex = 6;
|
||||||
//
|
//
|
||||||
// label7
|
// label7
|
||||||
@@ -342,18 +407,20 @@ namespace compabetov2
|
|||||||
this.label7.AutoSize = true;
|
this.label7.AutoSize = true;
|
||||||
this.label7.Dock = System.Windows.Forms.DockStyle.Top;
|
this.label7.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.label7.Location = new System.Drawing.Point(3, 0);
|
this.label7.Location = new System.Drawing.Point(4, 0);
|
||||||
|
this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.label7.Name = "label7";
|
this.label7.Name = "label7";
|
||||||
this.label7.Size = new System.Drawing.Size(388, 20);
|
this.label7.Size = new System.Drawing.Size(95, 25);
|
||||||
this.label7.TabIndex = 0;
|
this.label7.TabIndex = 0;
|
||||||
this.label7.Text = "Telefono:";
|
this.label7.Text = "Telefono:";
|
||||||
//
|
//
|
||||||
// txtTelefono
|
// txtTelefono
|
||||||
//
|
//
|
||||||
this.txtTelefono.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.txtTelefono.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.txtTelefono.Location = new System.Drawing.Point(3, 23);
|
this.txtTelefono.Location = new System.Drawing.Point(107, 4);
|
||||||
|
this.txtTelefono.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.txtTelefono.Name = "txtTelefono";
|
this.txtTelefono.Name = "txtTelefono";
|
||||||
this.txtTelefono.Size = new System.Drawing.Size(388, 24);
|
this.txtTelefono.Size = new System.Drawing.Size(516, 29);
|
||||||
this.txtTelefono.TabIndex = 1;
|
this.txtTelefono.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// flowLayoutPanel9
|
// flowLayoutPanel9
|
||||||
@@ -362,9 +429,10 @@ namespace compabetov2
|
|||||||
this.flowLayoutPanel9.Controls.Add(this.txtColonia);
|
this.flowLayoutPanel9.Controls.Add(this.txtColonia);
|
||||||
this.flowLayoutPanel9.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.flowLayoutPanel9.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.flowLayoutPanel9.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
this.flowLayoutPanel9.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
||||||
this.flowLayoutPanel9.Location = new System.Drawing.Point(400, 67);
|
this.flowLayoutPanel9.Location = new System.Drawing.Point(533, 83);
|
||||||
|
this.flowLayoutPanel9.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.flowLayoutPanel9.Name = "flowLayoutPanel9";
|
this.flowLayoutPanel9.Name = "flowLayoutPanel9";
|
||||||
this.flowLayoutPanel9.Size = new System.Drawing.Size(391, 66);
|
this.flowLayoutPanel9.Size = new System.Drawing.Size(522, 80);
|
||||||
this.flowLayoutPanel9.TabIndex = 7;
|
this.flowLayoutPanel9.TabIndex = 7;
|
||||||
//
|
//
|
||||||
// lbColonia
|
// lbColonia
|
||||||
@@ -372,18 +440,20 @@ namespace compabetov2
|
|||||||
this.lbColonia.AutoSize = true;
|
this.lbColonia.AutoSize = true;
|
||||||
this.lbColonia.Dock = System.Windows.Forms.DockStyle.Top;
|
this.lbColonia.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.lbColonia.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.lbColonia.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.lbColonia.Location = new System.Drawing.Point(3, 0);
|
this.lbColonia.Location = new System.Drawing.Point(4, 0);
|
||||||
|
this.lbColonia.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.lbColonia.Name = "lbColonia";
|
this.lbColonia.Name = "lbColonia";
|
||||||
this.lbColonia.Size = new System.Drawing.Size(388, 20);
|
this.lbColonia.Size = new System.Drawing.Size(516, 25);
|
||||||
this.lbColonia.TabIndex = 0;
|
this.lbColonia.TabIndex = 0;
|
||||||
this.lbColonia.Text = "Colonia:";
|
this.lbColonia.Text = "Colonia:";
|
||||||
//
|
//
|
||||||
// txtColonia
|
// txtColonia
|
||||||
//
|
//
|
||||||
this.txtColonia.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.txtColonia.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.txtColonia.Location = new System.Drawing.Point(3, 23);
|
this.txtColonia.Location = new System.Drawing.Point(4, 29);
|
||||||
|
this.txtColonia.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.txtColonia.Name = "txtColonia";
|
this.txtColonia.Name = "txtColonia";
|
||||||
this.txtColonia.Size = new System.Drawing.Size(388, 26);
|
this.txtColonia.Size = new System.Drawing.Size(516, 30);
|
||||||
this.txtColonia.TabIndex = 1;
|
this.txtColonia.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// flowLayoutPanel10
|
// flowLayoutPanel10
|
||||||
@@ -392,9 +462,10 @@ namespace compabetov2
|
|||||||
this.flowLayoutPanel10.Controls.Add(this.txtNoExt);
|
this.flowLayoutPanel10.Controls.Add(this.txtNoExt);
|
||||||
this.flowLayoutPanel10.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.flowLayoutPanel10.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.flowLayoutPanel10.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
this.flowLayoutPanel10.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
||||||
this.flowLayoutPanel10.Location = new System.Drawing.Point(400, 139);
|
this.flowLayoutPanel10.Location = new System.Drawing.Point(533, 171);
|
||||||
|
this.flowLayoutPanel10.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.flowLayoutPanel10.Name = "flowLayoutPanel10";
|
this.flowLayoutPanel10.Name = "flowLayoutPanel10";
|
||||||
this.flowLayoutPanel10.Size = new System.Drawing.Size(391, 65);
|
this.flowLayoutPanel10.Size = new System.Drawing.Size(522, 79);
|
||||||
this.flowLayoutPanel10.TabIndex = 8;
|
this.flowLayoutPanel10.TabIndex = 8;
|
||||||
//
|
//
|
||||||
// label2
|
// label2
|
||||||
@@ -402,18 +473,20 @@ namespace compabetov2
|
|||||||
this.label2.AutoSize = true;
|
this.label2.AutoSize = true;
|
||||||
this.label2.Dock = System.Windows.Forms.DockStyle.Top;
|
this.label2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.label2.Location = new System.Drawing.Point(3, 0);
|
this.label2.Location = new System.Drawing.Point(4, 0);
|
||||||
|
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.label2.Name = "label2";
|
this.label2.Name = "label2";
|
||||||
this.label2.Size = new System.Drawing.Size(388, 20);
|
this.label2.Size = new System.Drawing.Size(516, 25);
|
||||||
this.label2.TabIndex = 0;
|
this.label2.TabIndex = 0;
|
||||||
this.label2.Text = "Numero Exterior:";
|
this.label2.Text = "Numero Exterior:";
|
||||||
//
|
//
|
||||||
// txtNoExt
|
// txtNoExt
|
||||||
//
|
//
|
||||||
this.txtNoExt.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.txtNoExt.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.txtNoExt.Location = new System.Drawing.Point(3, 23);
|
this.txtNoExt.Location = new System.Drawing.Point(4, 29);
|
||||||
|
this.txtNoExt.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.txtNoExt.Name = "txtNoExt";
|
this.txtNoExt.Name = "txtNoExt";
|
||||||
this.txtNoExt.Size = new System.Drawing.Size(388, 26);
|
this.txtNoExt.Size = new System.Drawing.Size(516, 30);
|
||||||
this.txtNoExt.TabIndex = 1;
|
this.txtNoExt.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// flowLayoutPanel11
|
// flowLayoutPanel11
|
||||||
@@ -422,9 +495,10 @@ namespace compabetov2
|
|||||||
this.flowLayoutPanel11.Controls.Add(this.txtReferencia);
|
this.flowLayoutPanel11.Controls.Add(this.txtReferencia);
|
||||||
this.flowLayoutPanel11.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.flowLayoutPanel11.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.flowLayoutPanel11.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
this.flowLayoutPanel11.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
||||||
this.flowLayoutPanel11.Location = new System.Drawing.Point(400, 210);
|
this.flowLayoutPanel11.Location = new System.Drawing.Point(533, 258);
|
||||||
|
this.flowLayoutPanel11.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.flowLayoutPanel11.Name = "flowLayoutPanel11";
|
this.flowLayoutPanel11.Name = "flowLayoutPanel11";
|
||||||
this.flowLayoutPanel11.Size = new System.Drawing.Size(391, 57);
|
this.flowLayoutPanel11.Size = new System.Drawing.Size(522, 70);
|
||||||
this.flowLayoutPanel11.TabIndex = 9;
|
this.flowLayoutPanel11.TabIndex = 9;
|
||||||
//
|
//
|
||||||
// label4
|
// label4
|
||||||
@@ -432,18 +506,20 @@ namespace compabetov2
|
|||||||
this.label4.AutoSize = true;
|
this.label4.AutoSize = true;
|
||||||
this.label4.Dock = System.Windows.Forms.DockStyle.Top;
|
this.label4.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.label4.Location = new System.Drawing.Point(3, 0);
|
this.label4.Location = new System.Drawing.Point(4, 0);
|
||||||
|
this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.label4.Name = "label4";
|
this.label4.Name = "label4";
|
||||||
this.label4.Size = new System.Drawing.Size(388, 20);
|
this.label4.Size = new System.Drawing.Size(516, 25);
|
||||||
this.label4.TabIndex = 0;
|
this.label4.TabIndex = 0;
|
||||||
this.label4.Text = "Referencia:";
|
this.label4.Text = "Referencia:";
|
||||||
//
|
//
|
||||||
// txtReferencia
|
// txtReferencia
|
||||||
//
|
//
|
||||||
this.txtReferencia.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.txtReferencia.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.txtReferencia.Location = new System.Drawing.Point(3, 23);
|
this.txtReferencia.Location = new System.Drawing.Point(4, 29);
|
||||||
|
this.txtReferencia.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.txtReferencia.Name = "txtReferencia";
|
this.txtReferencia.Name = "txtReferencia";
|
||||||
this.txtReferencia.Size = new System.Drawing.Size(388, 26);
|
this.txtReferencia.Size = new System.Drawing.Size(516, 30);
|
||||||
this.txtReferencia.TabIndex = 1;
|
this.txtReferencia.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// flowLayoutPanel12
|
// flowLayoutPanel12
|
||||||
@@ -452,9 +528,10 @@ namespace compabetov2
|
|||||||
this.flowLayoutPanel12.Controls.Add(this.dtFechaCon);
|
this.flowLayoutPanel12.Controls.Add(this.dtFechaCon);
|
||||||
this.flowLayoutPanel12.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.flowLayoutPanel12.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.flowLayoutPanel12.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
this.flowLayoutPanel12.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
||||||
this.flowLayoutPanel12.Location = new System.Drawing.Point(400, 273);
|
this.flowLayoutPanel12.Location = new System.Drawing.Point(533, 336);
|
||||||
|
this.flowLayoutPanel12.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.flowLayoutPanel12.Name = "flowLayoutPanel12";
|
this.flowLayoutPanel12.Name = "flowLayoutPanel12";
|
||||||
this.flowLayoutPanel12.Size = new System.Drawing.Size(391, 54);
|
this.flowLayoutPanel12.Size = new System.Drawing.Size(522, 66);
|
||||||
this.flowLayoutPanel12.TabIndex = 10;
|
this.flowLayoutPanel12.TabIndex = 10;
|
||||||
//
|
//
|
||||||
// label6
|
// label6
|
||||||
@@ -462,18 +539,20 @@ namespace compabetov2
|
|||||||
this.label6.AutoSize = true;
|
this.label6.AutoSize = true;
|
||||||
this.label6.Dock = System.Windows.Forms.DockStyle.Top;
|
this.label6.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.label6.Location = new System.Drawing.Point(3, 0);
|
this.label6.Location = new System.Drawing.Point(4, 0);
|
||||||
|
this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.label6.Name = "label6";
|
this.label6.Name = "label6";
|
||||||
this.label6.Size = new System.Drawing.Size(388, 20);
|
this.label6.Size = new System.Drawing.Size(516, 25);
|
||||||
this.label6.TabIndex = 0;
|
this.label6.TabIndex = 0;
|
||||||
this.label6.Text = "Fecha de contratacion:";
|
this.label6.Text = "Fecha de contratacion:";
|
||||||
//
|
//
|
||||||
// dtFechaCon
|
// dtFechaCon
|
||||||
//
|
//
|
||||||
this.dtFechaCon.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.dtFechaCon.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.dtFechaCon.Location = new System.Drawing.Point(3, 23);
|
this.dtFechaCon.Location = new System.Drawing.Point(4, 29);
|
||||||
|
this.dtFechaCon.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.dtFechaCon.Name = "dtFechaCon";
|
this.dtFechaCon.Name = "dtFechaCon";
|
||||||
this.dtFechaCon.Size = new System.Drawing.Size(388, 26);
|
this.dtFechaCon.Size = new System.Drawing.Size(516, 30);
|
||||||
this.dtFechaCon.TabIndex = 1;
|
this.dtFechaCon.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// flowLayoutPanel13
|
// flowLayoutPanel13
|
||||||
@@ -482,9 +561,10 @@ namespace compabetov2
|
|||||||
this.flowLayoutPanel13.Controls.Add(this.cbEstado);
|
this.flowLayoutPanel13.Controls.Add(this.cbEstado);
|
||||||
this.flowLayoutPanel13.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.flowLayoutPanel13.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.flowLayoutPanel13.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
this.flowLayoutPanel13.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
||||||
this.flowLayoutPanel13.Location = new System.Drawing.Point(400, 333);
|
this.flowLayoutPanel13.Location = new System.Drawing.Point(533, 410);
|
||||||
|
this.flowLayoutPanel13.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.flowLayoutPanel13.Name = "flowLayoutPanel13";
|
this.flowLayoutPanel13.Name = "flowLayoutPanel13";
|
||||||
this.flowLayoutPanel13.Size = new System.Drawing.Size(391, 50);
|
this.flowLayoutPanel13.Size = new System.Drawing.Size(522, 61);
|
||||||
this.flowLayoutPanel13.TabIndex = 11;
|
this.flowLayoutPanel13.TabIndex = 11;
|
||||||
//
|
//
|
||||||
// label8
|
// label8
|
||||||
@@ -492,9 +572,10 @@ namespace compabetov2
|
|||||||
this.label8.AutoSize = true;
|
this.label8.AutoSize = true;
|
||||||
this.label8.Dock = System.Windows.Forms.DockStyle.Top;
|
this.label8.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.label8.Location = new System.Drawing.Point(3, 0);
|
this.label8.Location = new System.Drawing.Point(4, 0);
|
||||||
|
this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.label8.Name = "label8";
|
this.label8.Name = "label8";
|
||||||
this.label8.Size = new System.Drawing.Size(388, 18);
|
this.label8.Size = new System.Drawing.Size(73, 24);
|
||||||
this.label8.TabIndex = 0;
|
this.label8.TabIndex = 0;
|
||||||
this.label8.Text = "Estado:";
|
this.label8.Text = "Estado:";
|
||||||
//
|
//
|
||||||
@@ -505,69 +586,31 @@ namespace compabetov2
|
|||||||
this.cbEstado.Items.AddRange(new object[] {
|
this.cbEstado.Items.AddRange(new object[] {
|
||||||
"Activo",
|
"Activo",
|
||||||
"Inactivo"});
|
"Inactivo"});
|
||||||
this.cbEstado.Location = new System.Drawing.Point(3, 21);
|
this.cbEstado.Location = new System.Drawing.Point(85, 4);
|
||||||
|
this.cbEstado.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.cbEstado.Name = "cbEstado";
|
this.cbEstado.Name = "cbEstado";
|
||||||
this.cbEstado.Size = new System.Drawing.Size(388, 26);
|
this.cbEstado.Size = new System.Drawing.Size(516, 32);
|
||||||
this.cbEstado.TabIndex = 1;
|
this.cbEstado.TabIndex = 1;
|
||||||
this.cbEstado.Text = "Activo";
|
this.cbEstado.Text = "Activo";
|
||||||
//
|
//
|
||||||
// tableLayoutPanel3
|
|
||||||
//
|
|
||||||
this.tableLayoutPanel3.ColumnCount = 3;
|
|
||||||
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 83.87574F));
|
|
||||||
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.12426F));
|
|
||||||
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 110F));
|
|
||||||
this.tableLayoutPanel3.Controls.Add(this.button1, 1, 0);
|
|
||||||
this.tableLayoutPanel3.Controls.Add(this.btnCancelar, 2, 0);
|
|
||||||
this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
||||||
this.tableLayoutPanel3.Location = new System.Drawing.Point(3, 440);
|
|
||||||
this.tableLayoutPanel3.Name = "tableLayoutPanel3";
|
|
||||||
this.tableLayoutPanel3.RowCount = 1;
|
|
||||||
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
||||||
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
||||||
this.tableLayoutPanel3.Size = new System.Drawing.Size(794, 65);
|
|
||||||
this.tableLayoutPanel3.TabIndex = 3;
|
|
||||||
//
|
|
||||||
// button1
|
|
||||||
//
|
|
||||||
this.button1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
||||||
this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.button1.Location = new System.Drawing.Point(576, 3);
|
|
||||||
this.button1.Name = "button1";
|
|
||||||
this.button1.Size = new System.Drawing.Size(104, 59);
|
|
||||||
this.button1.TabIndex = 0;
|
|
||||||
this.button1.Text = "Editar";
|
|
||||||
this.button1.UseVisualStyleBackColor = true;
|
|
||||||
this.button1.Click += new System.EventHandler(this.button1_Click_1);
|
|
||||||
//
|
|
||||||
// btnCancelar
|
|
||||||
//
|
|
||||||
this.btnCancelar.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
||||||
this.btnCancelar.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.btnCancelar.Location = new System.Drawing.Point(686, 3);
|
|
||||||
this.btnCancelar.Name = "btnCancelar";
|
|
||||||
this.btnCancelar.Size = new System.Drawing.Size(105, 59);
|
|
||||||
this.btnCancelar.TabIndex = 1;
|
|
||||||
this.btnCancelar.Text = "Cancelar";
|
|
||||||
this.btnCancelar.UseVisualStyleBackColor = true;
|
|
||||||
this.btnCancelar.Click += new System.EventHandler(this.btnCancelar_Click_1);
|
|
||||||
//
|
|
||||||
// flowLayoutPanel2
|
// flowLayoutPanel2
|
||||||
//
|
//
|
||||||
this.flowLayoutPanel2.Controls.Add(this.btnImg);
|
this.flowLayoutPanel2.Controls.Add(this.btnImg);
|
||||||
this.flowLayoutPanel2.Controls.Add(this.lbImg);
|
this.flowLayoutPanel2.Controls.Add(this.lbImg);
|
||||||
this.flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.flowLayoutPanel2.Location = new System.Drawing.Point(3, 395);
|
this.flowLayoutPanel2.Location = new System.Drawing.Point(4, 487);
|
||||||
|
this.flowLayoutPanel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.flowLayoutPanel2.Name = "flowLayoutPanel2";
|
this.flowLayoutPanel2.Name = "flowLayoutPanel2";
|
||||||
this.flowLayoutPanel2.Size = new System.Drawing.Size(794, 39);
|
this.flowLayoutPanel2.Size = new System.Drawing.Size(1059, 47);
|
||||||
this.flowLayoutPanel2.TabIndex = 4;
|
this.flowLayoutPanel2.TabIndex = 4;
|
||||||
//
|
//
|
||||||
// btnImg
|
// btnImg
|
||||||
//
|
//
|
||||||
this.btnImg.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.btnImg.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.btnImg.Location = new System.Drawing.Point(3, 3);
|
this.btnImg.Location = new System.Drawing.Point(4, 4);
|
||||||
|
this.btnImg.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.btnImg.Name = "btnImg";
|
this.btnImg.Name = "btnImg";
|
||||||
this.btnImg.Size = new System.Drawing.Size(148, 36);
|
this.btnImg.Size = new System.Drawing.Size(197, 44);
|
||||||
this.btnImg.TabIndex = 0;
|
this.btnImg.TabIndex = 0;
|
||||||
this.btnImg.Text = "Seleccionar imagen";
|
this.btnImg.Text = "Seleccionar imagen";
|
||||||
this.btnImg.UseVisualStyleBackColor = true;
|
this.btnImg.UseVisualStyleBackColor = true;
|
||||||
@@ -577,22 +620,27 @@ namespace compabetov2
|
|||||||
//
|
//
|
||||||
this.lbImg.AutoSize = true;
|
this.lbImg.AutoSize = true;
|
||||||
this.lbImg.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.lbImg.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.lbImg.Location = new System.Drawing.Point(157, 0);
|
this.lbImg.Location = new System.Drawing.Point(209, 0);
|
||||||
|
this.lbImg.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.lbImg.Name = "lbImg";
|
this.lbImg.Name = "lbImg";
|
||||||
this.lbImg.Padding = new System.Windows.Forms.Padding(0, 10, 0, 0);
|
this.lbImg.Padding = new System.Windows.Forms.Padding(0, 12, 0, 0);
|
||||||
this.lbImg.Size = new System.Drawing.Size(55, 26);
|
this.lbImg.Size = new System.Drawing.Size(68, 32);
|
||||||
this.lbImg.TabIndex = 1;
|
this.lbImg.TabIndex = 1;
|
||||||
this.lbImg.Text = "Imagen:";
|
this.lbImg.Text = "Imagen:";
|
||||||
|
this.lbImg.Click += new System.EventHandler(this.lbImg_Click);
|
||||||
//
|
//
|
||||||
// EditarEmpleado
|
// EditarEmpleado
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(800, 508);
|
this.ClientSize = new System.Drawing.Size(1067, 625);
|
||||||
this.Controls.Add(this.tableLayoutPanel1);
|
this.Controls.Add(this.tableLayoutPanel1);
|
||||||
|
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.Name = "EditarEmpleado";
|
this.Name = "EditarEmpleado";
|
||||||
this.Text = "Editar empleado";
|
this.Text = "Editar empleado";
|
||||||
|
this.Load += new System.EventHandler(this.EditarEmpleado_Load);
|
||||||
this.tableLayoutPanel1.ResumeLayout(false);
|
this.tableLayoutPanel1.ResumeLayout(false);
|
||||||
|
this.tableLayoutPanel3.ResumeLayout(false);
|
||||||
this.tableLayoutPanel2.ResumeLayout(false);
|
this.tableLayoutPanel2.ResumeLayout(false);
|
||||||
this.flowLayoutPanel1.ResumeLayout(false);
|
this.flowLayoutPanel1.ResumeLayout(false);
|
||||||
this.flowLayoutPanel1.PerformLayout();
|
this.flowLayoutPanel1.PerformLayout();
|
||||||
@@ -618,7 +666,6 @@ namespace compabetov2
|
|||||||
this.flowLayoutPanel12.PerformLayout();
|
this.flowLayoutPanel12.PerformLayout();
|
||||||
this.flowLayoutPanel13.ResumeLayout(false);
|
this.flowLayoutPanel13.ResumeLayout(false);
|
||||||
this.flowLayoutPanel13.PerformLayout();
|
this.flowLayoutPanel13.PerformLayout();
|
||||||
this.tableLayoutPanel3.ResumeLayout(false);
|
|
||||||
this.flowLayoutPanel2.ResumeLayout(false);
|
this.flowLayoutPanel2.ResumeLayout(false);
|
||||||
this.flowLayoutPanel2.PerformLayout();
|
this.flowLayoutPanel2.PerformLayout();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|||||||
@@ -110,5 +110,15 @@ namespace compabetov2
|
|||||||
lbImg.Text = $"Imagen: {Path.GetFileName(imagePath)}";
|
lbImg.Text = $"Imagen: {Path.GetFileName(imagePath)}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void lbImg_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void EditarEmpleado_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+462
@@ -0,0 +1,462 @@
|
|||||||
|
namespace compabetov2.Empleados
|
||||||
|
{
|
||||||
|
partial class EditarEmpleado1
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.txtNombre = new System.Windows.Forms.TextBox();
|
||||||
|
this.txtApellido = new System.Windows.Forms.TextBox();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.txtCalle = new System.Windows.Forms.TextBox();
|
||||||
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
|
this.txtColonia = new System.Windows.Forms.TextBox();
|
||||||
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
|
this.txtCp = new System.Windows.Forms.TextBox();
|
||||||
|
this.label5 = new System.Windows.Forms.Label();
|
||||||
|
this.txtNoExt = new System.Windows.Forms.TextBox();
|
||||||
|
this.label6 = new System.Windows.Forms.Label();
|
||||||
|
this.txtNoInt = new System.Windows.Forms.TextBox();
|
||||||
|
this.txtReferencia = new System.Windows.Forms.TextBox();
|
||||||
|
this.label7 = new System.Windows.Forms.Label();
|
||||||
|
this.label8 = new System.Windows.Forms.Label();
|
||||||
|
this.dtFechaNac = new System.Windows.Forms.DateTimePicker();
|
||||||
|
this.label9 = new System.Windows.Forms.Label();
|
||||||
|
this.dtFechaCon = new System.Windows.Forms.DateTimePicker();
|
||||||
|
this.label10 = new System.Windows.Forms.Label();
|
||||||
|
this.txtTelefono = new System.Windows.Forms.TextBox();
|
||||||
|
this.label11 = new System.Windows.Forms.Label();
|
||||||
|
this.cbEstado = new System.Windows.Forms.ComboBox();
|
||||||
|
this.label12 = new System.Windows.Forms.Label();
|
||||||
|
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.lbImg = new System.Windows.Forms.Label();
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// txtNombre
|
||||||
|
//
|
||||||
|
this.txtNombre.Font = new System.Drawing.Font("Poppins", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtNombre.Location = new System.Drawing.Point(23, 208);
|
||||||
|
this.txtNombre.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtNombre.Name = "txtNombre";
|
||||||
|
this.txtNombre.Size = new System.Drawing.Size(231, 37);
|
||||||
|
this.txtNombre.TabIndex = 2;
|
||||||
|
//
|
||||||
|
// txtApellido
|
||||||
|
//
|
||||||
|
this.txtApellido.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtApellido.Location = new System.Drawing.Point(328, 205);
|
||||||
|
this.txtApellido.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtApellido.Name = "txtApellido";
|
||||||
|
this.txtApellido.Size = new System.Drawing.Size(231, 42);
|
||||||
|
this.txtApellido.TabIndex = 3;
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label1.Font = new System.Drawing.Font("Poppins", 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(16, 164);
|
||||||
|
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(128, 40);
|
||||||
|
this.label1.TabIndex = 4;
|
||||||
|
this.label1.Text = "Nombres:";
|
||||||
|
this.label1.Click += new System.EventHandler(this.label1_Click);
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.AutoSize = true;
|
||||||
|
this.label2.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label2.Font = new System.Drawing.Font("Poppins", 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(321, 164);
|
||||||
|
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(128, 40);
|
||||||
|
this.label2.TabIndex = 5;
|
||||||
|
this.label2.Text = "Apellidos:";
|
||||||
|
//
|
||||||
|
// txtCalle
|
||||||
|
//
|
||||||
|
this.txtCalle.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtCalle.Location = new System.Drawing.Point(631, 205);
|
||||||
|
this.txtCalle.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtCalle.Name = "txtCalle";
|
||||||
|
this.txtCalle.Size = new System.Drawing.Size(231, 42);
|
||||||
|
this.txtCalle.TabIndex = 6;
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.AutoSize = true;
|
||||||
|
this.label3.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label3.Font = new System.Drawing.Font("Poppins", 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(624, 164);
|
||||||
|
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(113, 40);
|
||||||
|
this.label3.TabIndex = 7;
|
||||||
|
this.label3.Text = "Colonia:";
|
||||||
|
//
|
||||||
|
// txtColonia
|
||||||
|
//
|
||||||
|
this.txtColonia.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtColonia.Location = new System.Drawing.Point(23, 291);
|
||||||
|
this.txtColonia.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtColonia.Name = "txtColonia";
|
||||||
|
this.txtColonia.Size = new System.Drawing.Size(231, 42);
|
||||||
|
this.txtColonia.TabIndex = 8;
|
||||||
|
//
|
||||||
|
// label4
|
||||||
|
//
|
||||||
|
this.label4.AutoSize = true;
|
||||||
|
this.label4.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label4.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label4.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label4.Location = new System.Drawing.Point(16, 249);
|
||||||
|
this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label4.Name = "label4";
|
||||||
|
this.label4.Size = new System.Drawing.Size(113, 40);
|
||||||
|
this.label4.TabIndex = 9;
|
||||||
|
this.label4.Text = "Colonia:";
|
||||||
|
//
|
||||||
|
// txtCp
|
||||||
|
//
|
||||||
|
this.txtCp.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtCp.Location = new System.Drawing.Point(328, 291);
|
||||||
|
this.txtCp.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtCp.Name = "txtCp";
|
||||||
|
this.txtCp.Size = new System.Drawing.Size(231, 42);
|
||||||
|
this.txtCp.TabIndex = 10;
|
||||||
|
//
|
||||||
|
// label5
|
||||||
|
//
|
||||||
|
this.label5.AutoSize = true;
|
||||||
|
this.label5.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label5.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label5.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label5.Location = new System.Drawing.Point(321, 251);
|
||||||
|
this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label5.Name = "label5";
|
||||||
|
this.label5.Size = new System.Drawing.Size(184, 40);
|
||||||
|
this.label5.TabIndex = 11;
|
||||||
|
this.label5.Text = "Codigo Postal:";
|
||||||
|
//
|
||||||
|
// txtNoExt
|
||||||
|
//
|
||||||
|
this.txtNoExt.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtNoExt.Location = new System.Drawing.Point(631, 291);
|
||||||
|
this.txtNoExt.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtNoExt.Name = "txtNoExt";
|
||||||
|
this.txtNoExt.Size = new System.Drawing.Size(231, 42);
|
||||||
|
this.txtNoExt.TabIndex = 12;
|
||||||
|
//
|
||||||
|
// label6
|
||||||
|
//
|
||||||
|
this.label6.AutoSize = true;
|
||||||
|
this.label6.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label6.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label6.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label6.Location = new System.Drawing.Point(624, 251);
|
||||||
|
this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label6.Name = "label6";
|
||||||
|
this.label6.Size = new System.Drawing.Size(142, 40);
|
||||||
|
this.label6.TabIndex = 13;
|
||||||
|
this.label6.Text = "No.Exterior:";
|
||||||
|
//
|
||||||
|
// txtNoInt
|
||||||
|
//
|
||||||
|
this.txtNoInt.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtNoInt.Location = new System.Drawing.Point(23, 377);
|
||||||
|
this.txtNoInt.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtNoInt.Name = "txtNoInt";
|
||||||
|
this.txtNoInt.Size = new System.Drawing.Size(231, 42);
|
||||||
|
this.txtNoInt.TabIndex = 14;
|
||||||
|
//
|
||||||
|
// txtReferencia
|
||||||
|
//
|
||||||
|
this.txtReferencia.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtReferencia.Location = new System.Drawing.Point(328, 377);
|
||||||
|
this.txtReferencia.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtReferencia.Name = "txtReferencia";
|
||||||
|
this.txtReferencia.Size = new System.Drawing.Size(231, 42);
|
||||||
|
this.txtReferencia.TabIndex = 15;
|
||||||
|
//
|
||||||
|
// label7
|
||||||
|
//
|
||||||
|
this.label7.AutoSize = true;
|
||||||
|
this.label7.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label7.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label7.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label7.Location = new System.Drawing.Point(26, 337);
|
||||||
|
this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label7.Name = "label7";
|
||||||
|
this.label7.Size = new System.Drawing.Size(87, 40);
|
||||||
|
this.label7.TabIndex = 16;
|
||||||
|
this.label7.Text = "No.Int:";
|
||||||
|
//
|
||||||
|
// label8
|
||||||
|
//
|
||||||
|
this.label8.AutoSize = true;
|
||||||
|
this.label8.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label8.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label8.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label8.Location = new System.Drawing.Point(321, 337);
|
||||||
|
this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label8.Name = "label8";
|
||||||
|
this.label8.Size = new System.Drawing.Size(146, 40);
|
||||||
|
this.label8.TabIndex = 17;
|
||||||
|
this.label8.Text = "Referencia:";
|
||||||
|
//
|
||||||
|
// dtFechaNac
|
||||||
|
//
|
||||||
|
this.dtFechaNac.CalendarFont = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.dtFechaNac.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.dtFechaNac.Location = new System.Drawing.Point(631, 377);
|
||||||
|
this.dtFechaNac.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.dtFechaNac.Name = "dtFechaNac";
|
||||||
|
this.dtFechaNac.Size = new System.Drawing.Size(231, 42);
|
||||||
|
this.dtFechaNac.TabIndex = 18;
|
||||||
|
//
|
||||||
|
// label9
|
||||||
|
//
|
||||||
|
this.label9.AutoSize = true;
|
||||||
|
this.label9.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label9.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label9.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label9.Location = new System.Drawing.Point(624, 342);
|
||||||
|
this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label9.Name = "label9";
|
||||||
|
this.label9.Size = new System.Drawing.Size(269, 40);
|
||||||
|
this.label9.TabIndex = 19;
|
||||||
|
this.label9.Text = "Fecha de Nacimiento:";
|
||||||
|
//
|
||||||
|
// dtFechaCon
|
||||||
|
//
|
||||||
|
this.dtFechaCon.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.dtFechaCon.Location = new System.Drawing.Point(23, 467);
|
||||||
|
this.dtFechaCon.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.dtFechaCon.Name = "dtFechaCon";
|
||||||
|
this.dtFechaCon.Size = new System.Drawing.Size(231, 42);
|
||||||
|
this.dtFechaCon.TabIndex = 20;
|
||||||
|
//
|
||||||
|
// label10
|
||||||
|
//
|
||||||
|
this.label10.AutoSize = true;
|
||||||
|
this.label10.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label10.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label10.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label10.Location = new System.Drawing.Point(16, 423);
|
||||||
|
this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label10.Name = "label10";
|
||||||
|
this.label10.Size = new System.Drawing.Size(290, 40);
|
||||||
|
this.label10.TabIndex = 21;
|
||||||
|
this.label10.Text = "Fecha de Contratación:";
|
||||||
|
//
|
||||||
|
// txtTelefono
|
||||||
|
//
|
||||||
|
this.txtTelefono.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txtTelefono.Location = new System.Drawing.Point(328, 467);
|
||||||
|
this.txtTelefono.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.txtTelefono.Name = "txtTelefono";
|
||||||
|
this.txtTelefono.Size = new System.Drawing.Size(231, 42);
|
||||||
|
this.txtTelefono.TabIndex = 22;
|
||||||
|
//
|
||||||
|
// label11
|
||||||
|
//
|
||||||
|
this.label11.AutoSize = true;
|
||||||
|
this.label11.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label11.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label11.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label11.Location = new System.Drawing.Point(321, 423);
|
||||||
|
this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label11.Name = "label11";
|
||||||
|
this.label11.Size = new System.Drawing.Size(121, 40);
|
||||||
|
this.label11.TabIndex = 23;
|
||||||
|
this.label11.Text = "Telefono:";
|
||||||
|
//
|
||||||
|
// cbEstado
|
||||||
|
//
|
||||||
|
this.cbEstado.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.cbEstado.FormattingEnabled = true;
|
||||||
|
this.cbEstado.Items.AddRange(new object[] {
|
||||||
|
"Activo",
|
||||||
|
"Inactivo"});
|
||||||
|
this.cbEstado.Location = new System.Drawing.Point(631, 461);
|
||||||
|
this.cbEstado.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.cbEstado.Name = "cbEstado";
|
||||||
|
this.cbEstado.Size = new System.Drawing.Size(231, 48);
|
||||||
|
this.cbEstado.TabIndex = 24;
|
||||||
|
this.cbEstado.Text = "Activo";
|
||||||
|
//
|
||||||
|
// label12
|
||||||
|
//
|
||||||
|
this.label12.AutoSize = true;
|
||||||
|
this.label12.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label12.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label12.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label12.Location = new System.Drawing.Point(624, 423);
|
||||||
|
this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.label12.Name = "label12";
|
||||||
|
this.label12.Size = new System.Drawing.Size(101, 40);
|
||||||
|
this.label12.TabIndex = 25;
|
||||||
|
this.label12.Text = "Estado:";
|
||||||
|
//
|
||||||
|
// pictureBox2
|
||||||
|
//
|
||||||
|
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(353, 541);
|
||||||
|
this.pictureBox2.Name = "pictureBox2";
|
||||||
|
this.pictureBox2.Size = new System.Drawing.Size(100, 69);
|
||||||
|
this.pictureBox2.TabIndex = 27;
|
||||||
|
this.pictureBox2.TabStop = false;
|
||||||
|
this.pictureBox2.Click += new System.EventHandler(this.pictureBox2_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(459, 541);
|
||||||
|
this.pictureBox1.Name = "pictureBox1";
|
||||||
|
this.pictureBox1.Size = new System.Drawing.Size(100, 69);
|
||||||
|
this.pictureBox1.TabIndex = 26;
|
||||||
|
this.pictureBox1.TabStop = false;
|
||||||
|
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
|
||||||
|
//
|
||||||
|
// lbImg
|
||||||
|
//
|
||||||
|
this.lbImg.AutoSize = true;
|
||||||
|
this.lbImg.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.lbImg.Font = new System.Drawing.Font("Poppins", 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(141, 543);
|
||||||
|
this.lbImg.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.lbImg.Name = "lbImg";
|
||||||
|
this.lbImg.Size = new System.Drawing.Size(113, 40);
|
||||||
|
this.lbImg.TabIndex = 28;
|
||||||
|
this.lbImg.Text = "Imagen:";
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Font = new System.Drawing.Font("Poppins", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.button1.Location = new System.Drawing.Point(26, 541);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(103, 46);
|
||||||
|
this.button1.TabIndex = 29;
|
||||||
|
this.button1.Text = "Subir";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// EditarEmpleado1
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||||
|
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(915, 622);
|
||||||
|
this.ControlBox = false;
|
||||||
|
this.Controls.Add(this.button1);
|
||||||
|
this.Controls.Add(this.lbImg);
|
||||||
|
this.Controls.Add(this.pictureBox2);
|
||||||
|
this.Controls.Add(this.pictureBox1);
|
||||||
|
this.Controls.Add(this.label12);
|
||||||
|
this.Controls.Add(this.cbEstado);
|
||||||
|
this.Controls.Add(this.label11);
|
||||||
|
this.Controls.Add(this.txtTelefono);
|
||||||
|
this.Controls.Add(this.label10);
|
||||||
|
this.Controls.Add(this.dtFechaCon);
|
||||||
|
this.Controls.Add(this.label9);
|
||||||
|
this.Controls.Add(this.dtFechaNac);
|
||||||
|
this.Controls.Add(this.label8);
|
||||||
|
this.Controls.Add(this.label7);
|
||||||
|
this.Controls.Add(this.txtReferencia);
|
||||||
|
this.Controls.Add(this.txtNoInt);
|
||||||
|
this.Controls.Add(this.label6);
|
||||||
|
this.Controls.Add(this.txtNoExt);
|
||||||
|
this.Controls.Add(this.label5);
|
||||||
|
this.Controls.Add(this.txtCp);
|
||||||
|
this.Controls.Add(this.label4);
|
||||||
|
this.Controls.Add(this.txtColonia);
|
||||||
|
this.Controls.Add(this.label3);
|
||||||
|
this.Controls.Add(this.txtCalle);
|
||||||
|
this.Controls.Add(this.label2);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Controls.Add(this.txtApellido);
|
||||||
|
this.Controls.Add(this.txtNombre);
|
||||||
|
this.DoubleBuffered = true;
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||||
|
this.Name = "EditarEmpleado1";
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
this.Load += new System.EventHandler(this.EditarEmpleado1_Load);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.TextBox txtNombre;
|
||||||
|
private System.Windows.Forms.TextBox txtApellido;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.TextBox txtCalle;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.TextBox txtColonia;
|
||||||
|
private System.Windows.Forms.Label label4;
|
||||||
|
private System.Windows.Forms.TextBox txtCp;
|
||||||
|
private System.Windows.Forms.Label label5;
|
||||||
|
private System.Windows.Forms.TextBox txtNoExt;
|
||||||
|
private System.Windows.Forms.Label label6;
|
||||||
|
private System.Windows.Forms.TextBox txtNoInt;
|
||||||
|
private System.Windows.Forms.TextBox txtReferencia;
|
||||||
|
private System.Windows.Forms.Label label7;
|
||||||
|
private System.Windows.Forms.Label label8;
|
||||||
|
private System.Windows.Forms.DateTimePicker dtFechaNac;
|
||||||
|
private System.Windows.Forms.Label label9;
|
||||||
|
private System.Windows.Forms.DateTimePicker dtFechaCon;
|
||||||
|
private System.Windows.Forms.Label label10;
|
||||||
|
private System.Windows.Forms.TextBox txtTelefono;
|
||||||
|
private System.Windows.Forms.Label label11;
|
||||||
|
private System.Windows.Forms.ComboBox cbEstado;
|
||||||
|
private System.Windows.Forms.Label label12;
|
||||||
|
private System.Windows.Forms.PictureBox pictureBox2;
|
||||||
|
private System.Windows.Forms.PictureBox pictureBox1;
|
||||||
|
private System.Windows.Forms.Label lbImg;
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,106 @@
|
|||||||
|
using compabetov2.database.modelos;
|
||||||
|
using compabetov2.database;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace compabetov2.Empleados
|
||||||
|
{
|
||||||
|
public partial class EditarEmpleado1 : Form
|
||||||
|
{
|
||||||
|
private Empleado empleado;
|
||||||
|
private personal ventanaPadre;
|
||||||
|
private string imagePath;
|
||||||
|
public EditarEmpleado1(Empleado empleado, personal ventanaPadre)
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
this.empleado = empleado;
|
||||||
|
this.ventanaPadre = ventanaPadre;
|
||||||
|
imagePath = Path.Combine(Application.StartupPath, "Resources", "usuarios", empleado.img);
|
||||||
|
llenarCampos();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void llenarCampos()
|
||||||
|
{
|
||||||
|
txtNombre.Text = empleado.nombre;
|
||||||
|
txtApellido.Text = empleado.apellidos;
|
||||||
|
txtCalle.Text = empleado.calle;
|
||||||
|
txtColonia.Text = empleado.colonia;
|
||||||
|
txtCp.Text = empleado.cp;
|
||||||
|
txtNoExt.Text = empleado.no_ext;
|
||||||
|
txtNoInt.Text = empleado.no_int;
|
||||||
|
txtReferencia.Text = empleado.referencia;
|
||||||
|
txtTelefono.Text = empleado.telefono;
|
||||||
|
dtFechaCon.Text = empleado.fecha_contratacion;
|
||||||
|
dtFechaNac.Text = empleado.fecha_nac;
|
||||||
|
cbEstado.Text = empleado.estado;
|
||||||
|
lbImg.Text = $"Imagen: {Path.GetFileName(imagePath)}";
|
||||||
|
}
|
||||||
|
private void label1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
OpenFileDialog openFileDialog1 = new OpenFileDialog();
|
||||||
|
|
||||||
|
openFileDialog1.Filter = "Archivos de imagen (*.jpg, *.jpeg, *.png, *.bmp)|*.jpg;*.jpeg;*.png;*.bmp";
|
||||||
|
openFileDialog1.Title = "Seleccionar imagen";
|
||||||
|
|
||||||
|
if (openFileDialog1.ShowDialog() == DialogResult.OK)
|
||||||
|
{
|
||||||
|
imagePath = openFileDialog1.FileName;
|
||||||
|
lbImg.Text = $"Imagen: {Path.GetFileName(imagePath)}";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pictureBox2_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Empleado empleadoNuevo = new Empleado(
|
||||||
|
empleado.idempleado,
|
||||||
|
txtNombre.Text,
|
||||||
|
txtApellido.Text,
|
||||||
|
txtCalle.Text,
|
||||||
|
dtFechaCon.Text,
|
||||||
|
cbEstado.Text,
|
||||||
|
txtColonia.Text,
|
||||||
|
txtCp.Text,
|
||||||
|
txtNoExt.Text,
|
||||||
|
txtNoInt.Text,
|
||||||
|
txtReferencia.Text,
|
||||||
|
dtFechaNac.Text,
|
||||||
|
txtTelefono.Text,
|
||||||
|
Path.GetFileName(imagePath));
|
||||||
|
if (service.actualizarEmpleado(empleadoNuevo))
|
||||||
|
{
|
||||||
|
if (!empleado.img.Equals(empleadoNuevo.img))
|
||||||
|
{
|
||||||
|
string destinationFolder = Path.Combine(Application.StartupPath, "Resources", "usuarios");
|
||||||
|
string destinationFile = Path.Combine(destinationFolder, Path.GetFileName(imagePath));
|
||||||
|
File.Copy(imagePath, destinationFile, true);
|
||||||
|
}
|
||||||
|
ventanaPadre.llenarPanel();
|
||||||
|
Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void EditarEmpleado1_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pictureBox1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.Close();
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,120 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
Generated
+4
-4
@@ -69,7 +69,7 @@
|
|||||||
//
|
//
|
||||||
this.txtContra.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.txtContra.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.txtContra.Location = new System.Drawing.Point(328, 299);
|
this.txtContra.Location = new System.Drawing.Point(328, 299);
|
||||||
this.txtContra.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.txtContra.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.txtContra.Name = "txtContra";
|
this.txtContra.Name = "txtContra";
|
||||||
this.txtContra.PasswordChar = '*';
|
this.txtContra.PasswordChar = '*';
|
||||||
this.txtContra.Size = new System.Drawing.Size(309, 42);
|
this.txtContra.Size = new System.Drawing.Size(309, 42);
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
//
|
//
|
||||||
this.txtConfi.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.txtConfi.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.txtConfi.Location = new System.Drawing.Point(321, 429);
|
this.txtConfi.Location = new System.Drawing.Point(321, 429);
|
||||||
this.txtConfi.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.txtConfi.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.txtConfi.Name = "txtConfi";
|
this.txtConfi.Name = "txtConfi";
|
||||||
this.txtConfi.PasswordChar = '*';
|
this.txtConfi.PasswordChar = '*';
|
||||||
this.txtConfi.Size = new System.Drawing.Size(316, 42);
|
this.txtConfi.Size = new System.Drawing.Size(316, 42);
|
||||||
@@ -116,7 +116,7 @@
|
|||||||
this.label3.BackColor = System.Drawing.Color.Transparent;
|
this.label3.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.label3.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.label3.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.label3.ForeColor = System.Drawing.Color.Transparent;
|
this.label3.ForeColor = System.Drawing.Color.Transparent;
|
||||||
this.label3.Location = new System.Drawing.Point(350, 157);
|
this.label3.Location = new System.Drawing.Point(339, 168);
|
||||||
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.label3.Name = "label3";
|
this.label3.Name = "label3";
|
||||||
this.label3.Size = new System.Drawing.Size(271, 40);
|
this.label3.Size = new System.Drawing.Size(271, 40);
|
||||||
@@ -141,7 +141,7 @@
|
|||||||
this.Controls.Add(this.label1);
|
this.Controls.Add(this.label1);
|
||||||
this.DoubleBuffered = true;
|
this.DoubleBuffered = true;
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||||
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.Name = "ModificarContra";
|
this.Name = "ModificarContra";
|
||||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||||
|
|||||||
Generated
+24
-12
@@ -36,20 +36,24 @@
|
|||||||
// label1
|
// label1
|
||||||
//
|
//
|
||||||
this.label1.AutoSize = true;
|
this.label1.AutoSize = true;
|
||||||
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.label1.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.label1.Location = new System.Drawing.Point(23, 25);
|
this.label1.Font = new System.Drawing.Font("Poppins", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label1.ForeColor = System.Drawing.Color.Transparent;
|
||||||
|
this.label1.Location = new System.Drawing.Point(26, 169);
|
||||||
|
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.label1.Name = "label1";
|
this.label1.Name = "label1";
|
||||||
this.label1.Size = new System.Drawing.Size(342, 20);
|
this.label1.Size = new System.Drawing.Size(727, 53);
|
||||||
this.label1.TabIndex = 0;
|
this.label1.TabIndex = 0;
|
||||||
this.label1.Text = "¿Desea modificar o eliminar el Inicio de sesion?";
|
this.label1.Text = "¿Desea modificar o eliminar el Inicio de sesion?";
|
||||||
this.label1.Click += new System.EventHandler(this.label1_Click);
|
this.label1.Click += new System.EventHandler(this.label1_Click);
|
||||||
//
|
//
|
||||||
// button1
|
// button1
|
||||||
//
|
//
|
||||||
this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.button1.Font = new System.Drawing.Font("Poppins", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.button1.Location = new System.Drawing.Point(27, 67);
|
this.button1.Location = new System.Drawing.Point(239, 266);
|
||||||
|
this.button1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.button1.Name = "button1";
|
this.button1.Name = "button1";
|
||||||
this.button1.Size = new System.Drawing.Size(209, 35);
|
this.button1.Size = new System.Drawing.Size(279, 43);
|
||||||
this.button1.TabIndex = 1;
|
this.button1.TabIndex = 1;
|
||||||
this.button1.Text = "Modificar contraseña";
|
this.button1.Text = "Modificar contraseña";
|
||||||
this.button1.UseVisualStyleBackColor = true;
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
@@ -57,10 +61,11 @@
|
|||||||
//
|
//
|
||||||
// button2
|
// button2
|
||||||
//
|
//
|
||||||
this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.button2.Font = new System.Drawing.Font("Poppins", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.button2.Location = new System.Drawing.Point(242, 67);
|
this.button2.Location = new System.Drawing.Point(239, 331);
|
||||||
|
this.button2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.button2.Name = "button2";
|
this.button2.Name = "button2";
|
||||||
this.button2.Size = new System.Drawing.Size(123, 35);
|
this.button2.Size = new System.Drawing.Size(279, 43);
|
||||||
this.button2.TabIndex = 2;
|
this.button2.TabIndex = 2;
|
||||||
this.button2.Text = "Eliminar";
|
this.button2.Text = "Eliminar";
|
||||||
this.button2.UseVisualStyleBackColor = true;
|
this.button2.UseVisualStyleBackColor = true;
|
||||||
@@ -68,14 +73,21 @@
|
|||||||
//
|
//
|
||||||
// Confirmacion
|
// Confirmacion
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(380, 114);
|
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(775, 578);
|
||||||
|
this.ControlBox = false;
|
||||||
this.Controls.Add(this.button2);
|
this.Controls.Add(this.button2);
|
||||||
this.Controls.Add(this.button1);
|
this.Controls.Add(this.button1);
|
||||||
this.Controls.Add(this.label1);
|
this.Controls.Add(this.label1);
|
||||||
|
this.DoubleBuffered = true;
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||||
|
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.Name = "Confirmacion";
|
this.Name = "Confirmacion";
|
||||||
this.Text = "Confirmacion";
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
this.Load += new System.EventHandler(this.preguntaLogin_Load);
|
this.Load += new System.EventHandler(this.preguntaLogin_Load);
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|||||||
@@ -106,6 +106,24 @@
|
|||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Compile Include="Empleados\AgregarEmpleado1.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Empleados\AgregarEmpleado1.Designer.cs">
|
||||||
|
<DependentUpon>AgregarEmpleado1.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Empleados\AgregarLogin1.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Empleados\AgregarLogin1.Designer.cs">
|
||||||
|
<DependentUpon>AgregarLogin1.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Empleados\EditarEmpleado1.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Empleados\EditarEmpleado1.Designer.cs">
|
||||||
|
<DependentUpon>EditarEmpleado1.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="Merma\ActualizarMerma.cs">
|
<Compile Include="Merma\ActualizarMerma.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -219,6 +237,15 @@
|
|||||||
<Compile Include="Merma\verMerma.Designer.cs">
|
<Compile Include="Merma\verMerma.Designer.cs">
|
||||||
<DependentUpon>verMerma.cs</DependentUpon>
|
<DependentUpon>verMerma.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<EmbeddedResource Include="Empleados\AgregarEmpleado1.resx">
|
||||||
|
<DependentUpon>AgregarEmpleado1.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Empleados\AgregarLogin1.resx">
|
||||||
|
<DependentUpon>AgregarLogin1.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Empleados\EditarEmpleado1.resx">
|
||||||
|
<DependentUpon>EditarEmpleado1.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="Merma\ActualizarMerma.resx">
|
<EmbeddedResource Include="Merma\ActualizarMerma.resx">
|
||||||
<DependentUpon>ActualizarMerma.cs</DependentUpon>
|
<DependentUpon>ActualizarMerma.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user