From 3d80a7ade7d4f1c42f86f136721691e3e989b6b0 Mon Sep 17 00:00:00 2001 From: "ns.potapov" Date: Tue, 30 Apr 2024 11:01:42 +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=D1=80=D0=B5?= =?UTF-8?q?=D1=86=D0=B5=D0=BF=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PolyclinicView/FormRecipe.Designer.cs | 91 ++++++++++++++++++- Polyclinic/PolyclinicView/FormRecipe.resx | 50 +++++----- 2 files changed, 112 insertions(+), 29 deletions(-) diff --git a/Polyclinic/PolyclinicView/FormRecipe.Designer.cs b/Polyclinic/PolyclinicView/FormRecipe.Designer.cs index 1450d77..dd07892 100644 --- a/Polyclinic/PolyclinicView/FormRecipe.Designer.cs +++ b/Polyclinic/PolyclinicView/FormRecipe.Designer.cs @@ -28,12 +28,95 @@ /// 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 = "FormRecipe"; + textBoxComment = new TextBox(); + labelComment = new Label(); + labelProceduresCount = new Label(); + buttonCancel = new Button(); + buttonApply = new Button(); + numericUpDownProceduresCount = new NumericUpDown(); + ((System.ComponentModel.ISupportInitialize)numericUpDownProceduresCount).BeginInit(); + SuspendLayout(); + // + // textBoxComment + // + textBoxComment.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; + textBoxComment.Location = new Point(12, 72); + textBoxComment.Multiline = true; + textBoxComment.Name = "textBoxComment"; + textBoxComment.Size = new Size(438, 107); + textBoxComment.TabIndex = 13; + // + // labelComment + // + labelComment.AutoSize = true; + labelComment.Location = new Point(12, 49); + labelComment.Name = "labelComment"; + labelComment.Size = new Size(107, 20); + labelComment.TabIndex = 11; + labelComment.Text = "Комментарий"; + // + // labelProceduresCount + // + labelProceduresCount.AutoSize = true; + labelProceduresCount.Location = new Point(12, 12); + labelProceduresCount.Name = "labelProceduresCount"; + labelProceduresCount.Size = new Size(154, 20); + labelProceduresCount.TabIndex = 10; + labelProceduresCount.Text = "Колиество процедур"; + // + // buttonCancel + // + buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonCancel.Location = new Point(356, 185); + 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(256, 185); + buttonApply.Name = "buttonApply"; + buttonApply.Size = new Size(94, 29); + buttonApply.TabIndex = 8; + buttonApply.Text = "Сохранить"; + buttonApply.UseVisualStyleBackColor = true; + // + // numericUpDownProceduresCount + // + numericUpDownProceduresCount.Location = new Point(172, 12); + numericUpDownProceduresCount.Name = "numericUpDownProceduresCount"; + numericUpDownProceduresCount.Size = new Size(164, 27); + numericUpDownProceduresCount.TabIndex = 14; + // + // FormRecipe + // + AutoScaleDimensions = new SizeF(8F, 20F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(462, 223); + Controls.Add(numericUpDownProceduresCount); + Controls.Add(textBoxComment); + Controls.Add(labelComment); + Controls.Add(labelProceduresCount); + Controls.Add(buttonCancel); + Controls.Add(buttonApply); + MinimumSize = new Size(480, 270); + Name = "FormRecipe"; + Text = "Редактировать рецепт"; + ((System.ComponentModel.ISupportInitialize)numericUpDownProceduresCount).EndInit(); + ResumeLayout(false); + PerformLayout(); } #endregion + + private TextBox textBoxComment; + private Label labelComment; + private Label labelProceduresCount; + private Button buttonCancel; + private Button buttonApply; + private NumericUpDown numericUpDownProceduresCount; } } \ No newline at end of file diff --git a/Polyclinic/PolyclinicView/FormRecipe.resx b/Polyclinic/PolyclinicView/FormRecipe.resx index 1af7de1..af32865 100644 --- a/Polyclinic/PolyclinicView/FormRecipe.resx +++ b/Polyclinic/PolyclinicView/FormRecipe.resx @@ -1,17 +1,17 @@  -