From 78519cdc695df3753c21df8e06b7e7f8be2d2b59 Mon Sep 17 00:00:00 2001 From: "ns.potapov" Date: Tue, 30 Apr 2024 10:30:17 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D1=84=D0=BE=D1=80=D0=BC=D1=83=20=D1=80=D0=B5=D0=B4?= =?UTF-8?q?=D0=B0=D0=BA=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F=20=D0=B1=D0=BE=D0=BB=D0=B5=D0=B7=D0=BD=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PolyclinicView/FormDiagnose.Designer.cs | 90 ++++++++++++++++++- Polyclinic/PolyclinicView/FormDiagnose.resx | 50 +++++------ 2 files changed, 111 insertions(+), 29 deletions(-) diff --git a/Polyclinic/PolyclinicView/FormDiagnose.Designer.cs b/Polyclinic/PolyclinicView/FormDiagnose.Designer.cs index 5dd2d8f..1ab9c3d 100644 --- a/Polyclinic/PolyclinicView/FormDiagnose.Designer.cs +++ b/Polyclinic/PolyclinicView/FormDiagnose.Designer.cs @@ -28,12 +28,94 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 450); - this.Text = "FormDiagnose"; + buttonCancel = new Button(); + buttonApply = new Button(); + labelName = new Label(); + label2 = new Label(); + textBox1 = new TextBox(); + textBox2 = new TextBox(); + SuspendLayout(); + // + // buttonCancel + // + buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonCancel.Location = new Point(356, 182); + buttonCancel.Name = "buttonCancel"; + buttonCancel.Size = new Size(94, 29); + buttonCancel.TabIndex = 3; + buttonCancel.Text = "Отмена"; + buttonCancel.UseVisualStyleBackColor = true; + // + // buttonApply + // + buttonApply.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonApply.Location = new Point(256, 182); + buttonApply.Name = "buttonApply"; + buttonApply.Size = new Size(94, 29); + buttonApply.TabIndex = 2; + buttonApply.Text = "Сохранить"; + buttonApply.UseVisualStyleBackColor = true; + // + // labelName + // + labelName.AutoSize = true; + labelName.Location = new Point(12, 9); + labelName.Name = "labelName"; + labelName.Size = new Size(77, 20); + labelName.TabIndex = 4; + labelName.Text = "Название"; + // + // label2 + // + label2.AutoSize = true; + label2.Location = new Point(12, 46); + label2.Name = "label2"; + label2.Size = new Size(107, 20); + label2.TabIndex = 5; + label2.Text = "Комментарий"; + // + // textBox1 + // + textBox1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; + textBox1.Location = new Point(95, 6); + textBox1.Name = "textBox1"; + textBox1.Size = new Size(355, 27); + textBox1.TabIndex = 6; + // + // textBox2 + // + textBox2.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; + textBox2.Location = new Point(12, 69); + textBox2.Multiline = true; + textBox2.Name = "textBox2"; + textBox2.Size = new Size(438, 107); + textBox2.TabIndex = 7; + // + // FormDiagnose + // + AutoScaleDimensions = new SizeF(8F, 20F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(462, 223); + Controls.Add(textBox2); + Controls.Add(textBox1); + Controls.Add(label2); + Controls.Add(labelName); + Controls.Add(buttonCancel); + Controls.Add(buttonApply); + MinimumSize = new Size(480, 270); + Name = "FormDiagnose"; + Text = "Редактировать болезнь"; + ResumeLayout(false); + PerformLayout(); } #endregion + + private Button buttonCancel; + private Button buttonApply; + private Label labelName; + private Label label2; + private TextBox textBox1; + private TextBox textBox2; } } \ No newline at end of file diff --git a/Polyclinic/PolyclinicView/FormDiagnose.resx b/Polyclinic/PolyclinicView/FormDiagnose.resx index 1af7de1..af32865 100644 --- a/Polyclinic/PolyclinicView/FormDiagnose.resx +++ b/Polyclinic/PolyclinicView/FormDiagnose.resx @@ -1,17 +1,17 @@  -