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