Фикс названий элементов на форме редактирования болезни

This commit is contained in:
Никита Потапов 2024-04-30 10:31:26 +04:00
parent 78519cdc69
commit 3681c58f16

View File

@ -31,9 +31,9 @@
buttonCancel = new Button(); buttonCancel = new Button();
buttonApply = new Button(); buttonApply = new Button();
labelName = new Label(); labelName = new Label();
label2 = new Label(); labelComment = new Label();
textBox1 = new TextBox(); textBoxName = new TextBox();
textBox2 = new TextBox(); textBoxComment = new TextBox();
SuspendLayout(); SuspendLayout();
// //
// buttonCancel // buttonCancel
@ -65,40 +65,40 @@
labelName.TabIndex = 4; labelName.TabIndex = 4;
labelName.Text = "Название"; labelName.Text = "Название";
// //
// label2 // labelComment
// //
label2.AutoSize = true; labelComment.AutoSize = true;
label2.Location = new Point(12, 46); labelComment.Location = new Point(12, 46);
label2.Name = "label2"; labelComment.Name = "labelComment";
label2.Size = new Size(107, 20); labelComment.Size = new Size(107, 20);
label2.TabIndex = 5; labelComment.TabIndex = 5;
label2.Text = "Комментарий"; labelComment.Text = "Комментарий";
// //
// textBox1 // textBoxName
// //
textBox1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; textBoxName.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
textBox1.Location = new Point(95, 6); textBoxName.Location = new Point(95, 6);
textBox1.Name = "textBox1"; textBoxName.Name = "textBoxName";
textBox1.Size = new Size(355, 27); textBoxName.Size = new Size(355, 27);
textBox1.TabIndex = 6; textBoxName.TabIndex = 6;
// //
// textBox2 // textBoxComment
// //
textBox2.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; textBoxComment.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
textBox2.Location = new Point(12, 69); textBoxComment.Location = new Point(12, 69);
textBox2.Multiline = true; textBoxComment.Multiline = true;
textBox2.Name = "textBox2"; textBoxComment.Name = "textBoxComment";
textBox2.Size = new Size(438, 107); textBoxComment.Size = new Size(438, 107);
textBox2.TabIndex = 7; textBoxComment.TabIndex = 7;
// //
// FormDiagnose // FormDiagnose
// //
AutoScaleDimensions = new SizeF(8F, 20F); AutoScaleDimensions = new SizeF(8F, 20F);
AutoScaleMode = AutoScaleMode.Font; AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(462, 223); ClientSize = new Size(462, 223);
Controls.Add(textBox2); Controls.Add(textBoxComment);
Controls.Add(textBox1); Controls.Add(textBoxName);
Controls.Add(label2); Controls.Add(labelComment);
Controls.Add(labelName); Controls.Add(labelName);
Controls.Add(buttonCancel); Controls.Add(buttonCancel);
Controls.Add(buttonApply); Controls.Add(buttonApply);
@ -114,8 +114,8 @@
private Button buttonCancel; private Button buttonCancel;
private Button buttonApply; private Button buttonApply;
private Label labelName; private Label labelName;
private Label label2; private Label labelComment;
private TextBox textBox1; private TextBox textBoxName;
private TextBox textBox2; private TextBox textBoxComment;
} }
} }