correcciones sobre los forms

This commit is contained in:
2024-08-03 22:03:54 +01:00
committed by fede
parent 3f683843c2
commit 31b01b98b0
18 changed files with 214 additions and 153 deletions

View File

@@ -38,8 +38,8 @@
numericUpDown2 = new NumericUpDown();
checkBox1 = new CheckBox();
comboBox1 = new ComboBox();
button1 = new Button();
button2 = new Button();
btnacept = new Button();
btncancel = new Button();
((System.ComponentModel.ISupportInitialize)numericUpDown1).BeginInit();
((System.ComponentModel.ISupportInitialize)numericUpDown2).BeginInit();
SuspendLayout();
@@ -47,7 +47,7 @@
// label1
//
label1.AutoSize = true;
label1.Location = new Point(47, 44);
label1.Location = new Point(46, 20);
label1.Name = "label1";
label1.Size = new Size(18, 15);
label1.TabIndex = 0;
@@ -56,7 +56,7 @@
// label2
//
label2.AutoSize = true;
label2.Location = new Point(14, 73);
label2.Location = new Point(14, 48);
label2.Name = "label2";
label2.Size = new Size(51, 15);
label2.TabIndex = 1;
@@ -65,7 +65,7 @@
// label3
//
label3.AutoSize = true;
label3.Location = new Point(25, 105);
label3.Location = new Point(25, 80);
label3.Name = "label3";
label3.Size = new Size(40, 15);
label3.TabIndex = 2;
@@ -74,7 +74,7 @@
// label4
//
label4.AutoSize = true;
label4.Location = new Point(7, 136);
label4.Location = new Point(7, 111);
label4.Name = "label4";
label4.Size = new Size(62, 15);
label4.TabIndex = 3;
@@ -83,7 +83,7 @@
// label5
//
label5.AutoSize = true;
label5.Location = new Point(7, 167);
label5.Location = new Point(7, 142);
label5.Name = "label5";
label5.Size = new Size(58, 15);
label5.TabIndex = 4;
@@ -91,7 +91,7 @@
//
// numericUpDown1
//
numericUpDown1.Location = new Point(71, 36);
numericUpDown1.Location = new Point(70, 12);
numericUpDown1.Maximum = new decimal(new int[] { 1215752191, 23, 0, 0 });
numericUpDown1.Name = "numericUpDown1";
numericUpDown1.Size = new Size(120, 23);
@@ -99,14 +99,14 @@
//
// textBox1
//
textBox1.Location = new Point(71, 65);
textBox1.Location = new Point(71, 40);
textBox1.Name = "textBox1";
textBox1.Size = new Size(120, 23);
textBox1.TabIndex = 6;
//
// numericUpDown2
//
numericUpDown2.Location = new Point(71, 97);
numericUpDown2.Location = new Point(71, 72);
numericUpDown2.Maximum = new decimal(new int[] { 100000000, 0, 0, 0 });
numericUpDown2.Name = "numericUpDown2";
numericUpDown2.Size = new Size(120, 23);
@@ -115,7 +115,7 @@
// checkBox1
//
checkBox1.AutoSize = true;
checkBox1.Location = new Point(71, 137);
checkBox1.Location = new Point(71, 112);
checkBox1.Name = "checkBox1";
checkBox1.Size = new Size(15, 14);
checkBox1.TabIndex = 8;
@@ -125,39 +125,41 @@
//
comboBox1.DropDownStyle = ComboBoxStyle.DropDownList;
comboBox1.FormattingEnabled = true;
comboBox1.Location = new Point(70, 159);
comboBox1.Location = new Point(70, 134);
comboBox1.Name = "comboBox1";
comboBox1.Size = new Size(121, 23);
comboBox1.TabIndex = 9;
comboBox1.SelectedIndexChanged += comboBox1_SelectedIndexChanged;
//
// button1
// btnacept
//
button1.Location = new Point(14, 239);
button1.Name = "button1";
button1.Size = new Size(92, 35);
button1.TabIndex = 10;
button1.Text = "Aceptar";
button1.UseVisualStyleBackColor = true;
button1.Click += button1_Click;
btnacept.Location = new Point(13, 194);
btnacept.Name = "btnacept";
btnacept.Size = new Size(72, 21);
btnacept.TabIndex = 10;
btnacept.Text = "Aceptar";
btnacept.UseVisualStyleBackColor = true;
btnacept.Click += button1_Click;
//
// button2
// btncancel
//
button2.Location = new Point(154, 239);
button2.Name = "button2";
button2.Size = new Size(92, 35);
button2.TabIndex = 11;
button2.Text = "Cancelar";
button2.UseVisualStyleBackColor = true;
button2.Click += button2_Click;
btncancel.Location = new Point(122, 194);
btncancel.Name = "btncancel";
btncancel.Size = new Size(68, 21);
btncancel.TabIndex = 11;
btncancel.Text = "Cancelar";
btncancel.UseVisualStyleBackColor = true;
btncancel.Click += button2_Click;
//
// FrmProducto
//
AcceptButton = btnacept;
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(471, 313);
Controls.Add(button2);
Controls.Add(button1);
CancelButton = btncancel;
ClientSize = new Size(210, 228);
Controls.Add(btncancel);
Controls.Add(btnacept);
Controls.Add(comboBox1);
Controls.Add(checkBox1);
Controls.Add(numericUpDown2);
@@ -188,7 +190,7 @@
private NumericUpDown numericUpDown2;
private CheckBox checkBox1;
private ComboBox comboBox1;
private Button button1;
private Button button2;
private Button btnacept;
private Button btncancel;
}
}