Retocado AddCategoria
This commit is contained in:
50
Vista/AddCategoria.Designer.cs
generated
50
Vista/AddCategoria.Designer.cs
generated
@@ -28,24 +28,24 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
button2 = new Button();
|
btnCancelar = new Button();
|
||||||
label1 = new Label();
|
label1 = new Label();
|
||||||
label2 = new Label();
|
label2 = new Label();
|
||||||
numid = new NumericUpDown();
|
numid = new NumericUpDown();
|
||||||
textBox1 = new TextBox();
|
textBox1 = new TextBox();
|
||||||
button1 = new Button();
|
btnAceptar = new Button();
|
||||||
((System.ComponentModel.ISupportInitialize)numid).BeginInit();
|
((System.ComponentModel.ISupportInitialize)numid).BeginInit();
|
||||||
SuspendLayout();
|
SuspendLayout();
|
||||||
//
|
//
|
||||||
// button2
|
// btnCancelar
|
||||||
//
|
//
|
||||||
button2.Location = new Point(146, 166);
|
btnCancelar.Location = new Point(146, 97);
|
||||||
button2.Name = "button2";
|
btnCancelar.Name = "btnCancelar";
|
||||||
button2.Size = new Size(75, 23);
|
btnCancelar.Size = new Size(75, 23);
|
||||||
button2.TabIndex = 1;
|
btnCancelar.TabIndex = 1;
|
||||||
button2.Text = "Cancelar";
|
btnCancelar.Text = "Cancelar";
|
||||||
button2.UseVisualStyleBackColor = true;
|
btnCancelar.UseVisualStyleBackColor = true;
|
||||||
button2.Click += button2_Click;
|
btnCancelar.Click += button2_Click;
|
||||||
//
|
//
|
||||||
// label1
|
// label1
|
||||||
//
|
//
|
||||||
@@ -80,40 +80,42 @@
|
|||||||
textBox1.Size = new Size(120, 23);
|
textBox1.Size = new Size(120, 23);
|
||||||
textBox1.TabIndex = 5;
|
textBox1.TabIndex = 5;
|
||||||
//
|
//
|
||||||
// button1
|
// btnAceptar
|
||||||
//
|
//
|
||||||
button1.Location = new Point(32, 166);
|
btnAceptar.Location = new Point(12, 97);
|
||||||
button1.Name = "button1";
|
btnAceptar.Name = "btnAceptar";
|
||||||
button1.Size = new Size(75, 23);
|
btnAceptar.Size = new Size(75, 23);
|
||||||
button1.TabIndex = 6;
|
btnAceptar.TabIndex = 6;
|
||||||
button1.Text = "Aceptar";
|
btnAceptar.Text = "Aceptar";
|
||||||
button1.UseVisualStyleBackColor = true;
|
btnAceptar.UseVisualStyleBackColor = true;
|
||||||
button1.Click += button1_Click;
|
btnAceptar.Click += button1_Click;
|
||||||
//
|
//
|
||||||
// AddCategoria
|
// AddCategoria
|
||||||
//
|
//
|
||||||
|
AcceptButton = btnAceptar;
|
||||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
ClientSize = new Size(278, 235);
|
CancelButton = btnCancelar;
|
||||||
Controls.Add(button1);
|
ClientSize = new Size(247, 128);
|
||||||
|
Controls.Add(btnAceptar);
|
||||||
Controls.Add(textBox1);
|
Controls.Add(textBox1);
|
||||||
Controls.Add(numid);
|
Controls.Add(numid);
|
||||||
Controls.Add(label2);
|
Controls.Add(label2);
|
||||||
Controls.Add(label1);
|
Controls.Add(label1);
|
||||||
Controls.Add(button2);
|
Controls.Add(btnCancelar);
|
||||||
Name = "AddCategoria";
|
Name = "AddCategoria";
|
||||||
Text = "Form1";
|
Text = "Añadir Categoria";
|
||||||
((System.ComponentModel.ISupportInitialize)numid).EndInit();
|
((System.ComponentModel.ISupportInitialize)numid).EndInit();
|
||||||
ResumeLayout(false);
|
ResumeLayout(false);
|
||||||
PerformLayout();
|
PerformLayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
private Button button2;
|
private Button btnCancelar;
|
||||||
private Label label1;
|
private Label label1;
|
||||||
private Label label2;
|
private Label label2;
|
||||||
private NumericUpDown numid;
|
private NumericUpDown numid;
|
||||||
private TextBox textBox1;
|
private TextBox textBox1;
|
||||||
private Button button1;
|
private Button btnAceptar;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -28,7 +28,7 @@ namespace Vista
|
|||||||
}
|
}
|
||||||
private void CargarDatos()
|
private void CargarDatos()
|
||||||
{
|
{
|
||||||
numid.Value = ControladoraCategorias.Instance.Listar().Max(x => x.Id+1);
|
numid.Value = ControladoraCategorias.Instance.Listar().Max(x => x.Id + 1);
|
||||||
numid.Enabled = false;
|
numid.Enabled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
1
Vista/FrmOrdenDeCompra.Designer.cs
generated
1
Vista/FrmOrdenDeCompra.Designer.cs
generated
@@ -146,7 +146,6 @@
|
|||||||
btnAceptar.TabIndex = 25;
|
btnAceptar.TabIndex = 25;
|
||||||
btnAceptar.Text = "Aceptar";
|
btnAceptar.Text = "Aceptar";
|
||||||
btnAceptar.UseVisualStyleBackColor = true;
|
btnAceptar.UseVisualStyleBackColor = true;
|
||||||
btnAceptar.Click += btnAceptar_Click;
|
|
||||||
//
|
//
|
||||||
// btnCerrar
|
// btnCerrar
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user