From 8d00453609ee35cd8fa6d70c1191990c01ee0a7a Mon Sep 17 00:00:00 2001 From: "ns.potapov" Date: Tue, 30 Apr 2024 10:53:21 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB=20=D1=84?= =?UTF-8?q?=D0=BE=D1=80=D0=BC=D1=83=20=D1=80=D0=B5=D0=B4=D0=B0=D0=BA=D1=82?= =?UTF-8?q?=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=BB=D0=B5?= =?UTF-8?q?=D0=BA=D0=B0=D1=80=D1=81=D1=82=D0=B2=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PolyclinicView/FormMedicament.Designer.cs | 140 +++++++++++++++++- Polyclinic/PolyclinicView/FormMedicament.resx | 50 +++---- 2 files changed, 161 insertions(+), 29 deletions(-) diff --git a/Polyclinic/PolyclinicView/FormMedicament.Designer.cs b/Polyclinic/PolyclinicView/FormMedicament.Designer.cs index 17ccd58..f00d787 100644 --- a/Polyclinic/PolyclinicView/FormMedicament.Designer.cs +++ b/Polyclinic/PolyclinicView/FormMedicament.Designer.cs @@ -28,12 +28,144 @@ /// 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 = "FormMedicament"; + textBoxComment = new TextBox(); + textBoxName = new TextBox(); + labelComment = new Label(); + labelName = new Label(); + buttonCancel = new Button(); + buttonApply = new Button(); + labelProcedure = new Label(); + labelSymptom = new Label(); + comboBoxProcedure = new ComboBox(); + comboBoxSymptom = new ComboBox(); + SuspendLayout(); + // + // textBoxComment + // + textBoxComment.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; + textBoxComment.Location = new Point(12, 154); + textBoxComment.Multiline = true; + textBoxComment.Name = "textBoxComment"; + textBoxComment.Size = new Size(506, 152); + textBoxComment.TabIndex = 13; + // + // textBoxName + // + textBoxName.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; + textBoxName.Location = new Point(105, 9); + textBoxName.Name = "textBoxName"; + textBoxName.Size = new Size(413, 27); + textBoxName.TabIndex = 12; + // + // labelComment + // + labelComment.AutoSize = true; + labelComment.Location = new Point(12, 131); + labelComment.Name = "labelComment"; + labelComment.Size = new Size(107, 20); + labelComment.TabIndex = 11; + labelComment.Text = "Комментарий"; + // + // labelName + // + labelName.AutoSize = true; + labelName.Location = new Point(12, 12); + labelName.Name = "labelName"; + labelName.Size = new Size(77, 20); + labelName.TabIndex = 10; + labelName.Text = "Название"; + // + // buttonCancel + // + buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonCancel.Location = new Point(424, 312); + buttonCancel.Name = "buttonCancel"; + buttonCancel.Size = new Size(94, 29); + buttonCancel.TabIndex = 9; + buttonCancel.Text = "Отмена"; + buttonCancel.UseVisualStyleBackColor = true; + // + // buttonApply + // + buttonApply.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonApply.Location = new Point(324, 312); + buttonApply.Name = "buttonApply"; + buttonApply.Size = new Size(94, 29); + buttonApply.TabIndex = 8; + buttonApply.Text = "Сохранить"; + buttonApply.UseVisualStyleBackColor = true; + // + // labelProcedure + // + labelProcedure.AutoSize = true; + labelProcedure.Location = new Point(12, 53); + labelProcedure.Name = "labelProcedure"; + labelProcedure.Size = new Size(87, 20); + labelProcedure.TabIndex = 14; + labelProcedure.Text = "Процедура"; + // + // labelSymptom + // + labelSymptom.AutoSize = true; + labelSymptom.Location = new Point(12, 95); + labelSymptom.Name = "labelSymptom"; + labelSymptom.Size = new Size(73, 20); + labelSymptom.TabIndex = 15; + labelSymptom.Text = "Симптом"; + // + // comboBoxProcedure + // + comboBoxProcedure.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; + comboBoxProcedure.DropDownStyle = ComboBoxStyle.DropDownList; + comboBoxProcedure.FormattingEnabled = true; + comboBoxProcedure.Location = new Point(105, 50); + comboBoxProcedure.Name = "comboBoxProcedure"; + comboBoxProcedure.Size = new Size(413, 28); + comboBoxProcedure.TabIndex = 16; + // + // comboBoxSymptom + // + comboBoxSymptom.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; + comboBoxSymptom.DropDownStyle = ComboBoxStyle.DropDownList; + comboBoxSymptom.FormattingEnabled = true; + comboBoxSymptom.Location = new Point(105, 92); + comboBoxSymptom.Name = "comboBoxSymptom"; + comboBoxSymptom.Size = new Size(413, 28); + comboBoxSymptom.TabIndex = 17; + // + // FormMedicament + // + AutoScaleDimensions = new SizeF(8F, 20F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(530, 350); + Controls.Add(comboBoxSymptom); + Controls.Add(comboBoxProcedure); + Controls.Add(labelSymptom); + Controls.Add(labelProcedure); + Controls.Add(textBoxComment); + Controls.Add(textBoxName); + Controls.Add(labelComment); + Controls.Add(labelName); + Controls.Add(buttonCancel); + Controls.Add(buttonApply); + MinimumSize = new Size(480, 270); + Name = "FormMedicament"; + Text = "Редактировать лекарство"; + ResumeLayout(false); + PerformLayout(); } #endregion + + private TextBox textBoxComment; + private TextBox textBoxName; + private Label labelComment; + private Label labelName; + private Button buttonCancel; + private Button buttonApply; + private Label labelProcedure; + private Label labelSymptom; + private ComboBox comboBoxProcedure; + private ComboBox comboBoxSymptom; } } \ No newline at end of file diff --git a/Polyclinic/PolyclinicView/FormMedicament.resx b/Polyclinic/PolyclinicView/FormMedicament.resx index 1af7de1..af32865 100644 --- a/Polyclinic/PolyclinicView/FormMedicament.resx +++ b/Polyclinic/PolyclinicView/FormMedicament.resx @@ -1,17 +1,17 @@  -