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 @@  -