bajar cambios 4

This commit is contained in:
carlos
2024-01-15 19:20:11 -06:00
19 changed files with 221 additions and 50 deletions
+91 -45
View File
@@ -31,21 +31,25 @@
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
this.label1 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.txtNombre = new System.Windows.Forms.TextBox();
this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel();
this.label2 = new System.Windows.Forms.Label();
this.textBox2 = new System.Windows.Forms.TextBox();
this.txtContra = new System.Windows.Forms.TextBox();
this.flowLayoutPanel3 = new System.Windows.Forms.FlowLayoutPanel();
this.label3 = new System.Windows.Forms.Label();
this.textBox3 = new System.Windows.Forms.TextBox();
this.txtContraConf = new System.Windows.Forms.TextBox();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.btnAceptar = new System.Windows.Forms.Button();
this.btnCancelar = new System.Windows.Forms.Button();
this.flowLayoutPanel4 = new System.Windows.Forms.FlowLayoutPanel();
this.label4 = new System.Windows.Forms.Label();
this.cbTipo = new System.Windows.Forms.ComboBox();
this.tableLayoutPanel1.SuspendLayout();
this.flowLayoutPanel1.SuspendLayout();
this.flowLayoutPanel2.SuspendLayout();
this.flowLayoutPanel3.SuspendLayout();
this.tableLayoutPanel2.SuspendLayout();
this.flowLayoutPanel4.SuspendLayout();
this.SuspendLayout();
//
// tableLayoutPanel1
@@ -53,30 +57,32 @@
this.tableLayoutPanel1.ColumnCount = 1;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 4);
this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel1, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel2, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel3, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel4, 0, 3);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 4;
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, 48.92086F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 84F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 72F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(354, 311);
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 82F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 71F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 73F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(354, 387);
this.tableLayoutPanel1.TabIndex = 0;
//
// flowLayoutPanel1
//
this.flowLayoutPanel1.Controls.Add(this.label1);
this.flowLayoutPanel1.Controls.Add(this.textBox1);
this.flowLayoutPanel1.Controls.Add(this.txtNombre);
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 3);
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
this.flowLayoutPanel1.Size = new System.Drawing.Size(348, 73);
this.flowLayoutPanel1.Size = new System.Drawing.Size(348, 76);
this.flowLayoutPanel1.TabIndex = 0;
//
// label1
@@ -90,23 +96,23 @@
this.label1.TabIndex = 0;
this.label1.Text = "Nombre de usuario:";
//
// textBox1
// txtNombre
//
this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox1.Location = new System.Drawing.Point(3, 37);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(345, 26);
this.textBox1.TabIndex = 1;
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, 37);
this.txtNombre.Name = "txtNombre";
this.txtNombre.Size = new System.Drawing.Size(345, 26);
this.txtNombre.TabIndex = 1;
//
// flowLayoutPanel2
//
this.flowLayoutPanel2.Controls.Add(this.label2);
this.flowLayoutPanel2.Controls.Add(this.textBox2);
this.flowLayoutPanel2.Controls.Add(this.txtContra);
this.flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.flowLayoutPanel2.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
this.flowLayoutPanel2.Location = new System.Drawing.Point(3, 82);
this.flowLayoutPanel2.Location = new System.Drawing.Point(3, 85);
this.flowLayoutPanel2.Name = "flowLayoutPanel2";
this.flowLayoutPanel2.Size = new System.Drawing.Size(348, 69);
this.flowLayoutPanel2.Size = new System.Drawing.Size(348, 72);
this.flowLayoutPanel2.TabIndex = 1;
//
// label2
@@ -120,24 +126,24 @@
this.label2.TabIndex = 0;
this.label2.Text = "contraseña";
//
// textBox2
// txtContra
//
this.textBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox2.Location = new System.Drawing.Point(3, 37);
this.textBox2.Name = "textBox2";
this.textBox2.PasswordChar = '*';
this.textBox2.Size = new System.Drawing.Size(345, 26);
this.textBox2.TabIndex = 1;
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(3, 37);
this.txtContra.Name = "txtContra";
this.txtContra.PasswordChar = '*';
this.txtContra.Size = new System.Drawing.Size(345, 26);
this.txtContra.TabIndex = 1;
//
// flowLayoutPanel3
//
this.flowLayoutPanel3.Controls.Add(this.label3);
this.flowLayoutPanel3.Controls.Add(this.textBox3);
this.flowLayoutPanel3.Controls.Add(this.txtContraConf);
this.flowLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.flowLayoutPanel3.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
this.flowLayoutPanel3.Location = new System.Drawing.Point(3, 157);
this.flowLayoutPanel3.Location = new System.Drawing.Point(3, 163);
this.flowLayoutPanel3.Name = "flowLayoutPanel3";
this.flowLayoutPanel3.Size = new System.Drawing.Size(348, 78);
this.flowLayoutPanel3.Size = new System.Drawing.Size(348, 76);
this.flowLayoutPanel3.TabIndex = 2;
//
// label3
@@ -151,14 +157,14 @@
this.label3.TabIndex = 0;
this.label3.Text = "confirmar contraseña";
//
// textBox3
// txtContraConf
//
this.textBox3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox3.Location = new System.Drawing.Point(3, 37);
this.textBox3.Name = "textBox3";
this.textBox3.PasswordChar = '*';
this.textBox3.Size = new System.Drawing.Size(342, 26);
this.textBox3.TabIndex = 1;
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(3, 37);
this.txtContraConf.Name = "txtContraConf";
this.txtContraConf.PasswordChar = '*';
this.txtContraConf.Size = new System.Drawing.Size(342, 26);
this.txtContraConf.TabIndex = 1;
//
// tableLayoutPanel2
//
@@ -169,13 +175,13 @@
this.tableLayoutPanel2.Controls.Add(this.btnAceptar, 1, 0);
this.tableLayoutPanel2.Controls.Add(this.btnCancelar, 2, 0);
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 241);
this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 316);
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
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));
this.tableLayoutPanel2.Size = new System.Drawing.Size(348, 67);
this.tableLayoutPanel2.TabIndex = 3;
this.tableLayoutPanel2.Size = new System.Drawing.Size(348, 68);
this.tableLayoutPanel2.TabIndex = 4;
//
// btnAceptar
//
@@ -183,10 +189,11 @@
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(165, 3);
this.btnAceptar.Name = "btnAceptar";
this.btnAceptar.Size = new System.Drawing.Size(87, 61);
this.btnAceptar.Size = new System.Drawing.Size(87, 62);
this.btnAceptar.TabIndex = 0;
this.btnAceptar.Text = "Aceptar";
this.btnAceptar.UseVisualStyleBackColor = true;
this.btnAceptar.Click += new System.EventHandler(this.btnAceptar_Click_1);
//
// btnCancelar
//
@@ -194,16 +201,50 @@
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(258, 3);
this.btnCancelar.Name = "btnCancelar";
this.btnCancelar.Size = new System.Drawing.Size(87, 61);
this.btnCancelar.Size = new System.Drawing.Size(87, 62);
this.btnCancelar.TabIndex = 1;
this.btnCancelar.Text = "Cancelar";
this.btnCancelar.UseVisualStyleBackColor = true;
//
// flowLayoutPanel4
//
this.flowLayoutPanel4.Controls.Add(this.label4);
this.flowLayoutPanel4.Controls.Add(this.cbTipo);
this.flowLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.flowLayoutPanel4.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
this.flowLayoutPanel4.Location = new System.Drawing.Point(3, 245);
this.flowLayoutPanel4.Name = "flowLayoutPanel4";
this.flowLayoutPanel4.Size = new System.Drawing.Size(348, 65);
this.flowLayoutPanel4.TabIndex = 5;
//
// label4
//
this.label4.AutoSize = true;
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.Name = "label4";
this.label4.Size = new System.Drawing.Size(43, 20);
this.label4.TabIndex = 0;
this.label4.Text = "Tipo:";
//
// cbTipo
//
this.cbTipo.Font = new System.Drawing.Font("Microsoft Sans Serif", 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(3, 23);
this.cbTipo.Name = "cbTipo";
this.cbTipo.Size = new System.Drawing.Size(121, 28);
this.cbTipo.TabIndex = 1;
this.cbTipo.Text = "empleado";
//
// AgregarLogin
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(354, 311);
this.ClientSize = new System.Drawing.Size(354, 387);
this.Controls.Add(this.tableLayoutPanel1);
this.Name = "AgregarLogin";
this.Text = "Crear Login";
@@ -215,6 +256,8 @@
this.flowLayoutPanel3.ResumeLayout(false);
this.flowLayoutPanel3.PerformLayout();
this.tableLayoutPanel2.ResumeLayout(false);
this.flowLayoutPanel4.ResumeLayout(false);
this.flowLayoutPanel4.PerformLayout();
this.ResumeLayout(false);
}
@@ -224,15 +267,18 @@
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.TextBox txtNombre;
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel2;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.TextBox txtContra;
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel3;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox txtContraConf;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
private System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.Button btnAceptar;
private System.Windows.Forms.Button btnCancelar;
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel4;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.ComboBox cbTipo;
}
}