From 3bb5f4d6113d0f992a5700bf56ce2f8f9ab3cd7e Mon Sep 17 00:00:00 2001 From: "ns.potapov" Date: Tue, 30 Apr 2024 11:20:06 +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=BF=D0=BE?= =?UTF-8?q?=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PolyclinicView/FormUser.Designer.cs | 137 +++++++++++++++++- Polyclinic/PolyclinicView/FormUser.resx | 50 +++---- 2 files changed, 158 insertions(+), 29 deletions(-) diff --git a/Polyclinic/PolyclinicView/FormUser.Designer.cs b/Polyclinic/PolyclinicView/FormUser.Designer.cs index 0f3456c..16be5ac 100644 --- a/Polyclinic/PolyclinicView/FormUser.Designer.cs +++ b/Polyclinic/PolyclinicView/FormUser.Designer.cs @@ -28,12 +28,141 @@ /// 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 = "FormUser"; + labelFIO = new Label(); + labelEmail = new Label(); + labelPassword = new Label(); + labelRole = new Label(); + buttonCancel = new Button(); + buttonApply = new Button(); + textBoxFIO = new TextBox(); + textBoxEmail = new TextBox(); + textBoxPassword = new TextBox(); + comboBoxRole = new ComboBox(); + SuspendLayout(); + // + // labelFIO + // + labelFIO.AutoSize = true; + labelFIO.Location = new Point(12, 9); + labelFIO.Name = "labelFIO"; + labelFIO.Size = new Size(42, 20); + labelFIO.TabIndex = 0; + labelFIO.Text = "ФИО"; + // + // labelEmail + // + labelEmail.AutoSize = true; + labelEmail.Location = new Point(12, 43); + labelEmail.Name = "labelEmail"; + labelEmail.Size = new Size(46, 20); + labelEmail.TabIndex = 1; + labelEmail.Text = "Email"; + // + // labelPassword + // + labelPassword.AutoSize = true; + labelPassword.Location = new Point(12, 73); + labelPassword.Name = "labelPassword"; + labelPassword.Size = new Size(62, 20); + labelPassword.TabIndex = 2; + labelPassword.Text = "Пароль"; + // + // labelRole + // + labelRole.AutoSize = true; + labelRole.Location = new Point(12, 114); + labelRole.Name = "labelRole"; + labelRole.Size = new Size(42, 20); + labelRole.TabIndex = 3; + labelRole.Text = "Роль"; + // + // buttonCancel + // + buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonCancel.Location = new Point(526, 152); + buttonCancel.Name = "buttonCancel"; + buttonCancel.Size = new Size(94, 29); + buttonCancel.TabIndex = 5; + buttonCancel.Text = "Отмена"; + buttonCancel.UseVisualStyleBackColor = true; + // + // buttonApply + // + buttonApply.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonApply.Location = new Point(426, 152); + buttonApply.Name = "buttonApply"; + buttonApply.Size = new Size(94, 29); + buttonApply.TabIndex = 4; + buttonApply.Text = "Сохранить"; + buttonApply.UseVisualStyleBackColor = true; + // + // textBoxFIO + // + textBoxFIO.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; + textBoxFIO.Location = new Point(87, 6); + textBoxFIO.Name = "textBoxFIO"; + textBoxFIO.Size = new Size(533, 27); + textBoxFIO.TabIndex = 6; + // + // textBoxEmail + // + textBoxEmail.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; + textBoxEmail.Location = new Point(87, 40); + textBoxEmail.Name = "textBoxEmail"; + textBoxEmail.Size = new Size(533, 27); + textBoxEmail.TabIndex = 7; + // + // textBoxPassword + // + textBoxPassword.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; + textBoxPassword.Location = new Point(87, 73); + textBoxPassword.Name = "textBoxPassword"; + textBoxPassword.Size = new Size(533, 27); + textBoxPassword.TabIndex = 8; + // + // comboBoxRole + // + comboBoxRole.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; + comboBoxRole.DropDownStyle = ComboBoxStyle.DropDownList; + comboBoxRole.FormattingEnabled = true; + comboBoxRole.Location = new Point(87, 111); + comboBoxRole.Name = "comboBoxRole"; + comboBoxRole.Size = new Size(533, 28); + comboBoxRole.TabIndex = 9; + // + // FormUser + // + AutoScaleDimensions = new SizeF(8F, 20F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(632, 193); + Controls.Add(comboBoxRole); + Controls.Add(textBoxPassword); + Controls.Add(textBoxEmail); + Controls.Add(textBoxFIO); + Controls.Add(buttonCancel); + Controls.Add(buttonApply); + Controls.Add(labelRole); + Controls.Add(labelPassword); + Controls.Add(labelEmail); + Controls.Add(labelFIO); + MinimumSize = new Size(0, 240); + Name = "FormUser"; + Text = "Редактировать пользователя"; + ResumeLayout(false); + PerformLayout(); } #endregion + + private Label labelFIO; + private Label labelEmail; + private Label labelPassword; + private Label labelRole; + private Button buttonCancel; + private Button buttonApply; + private TextBox textBoxFIO; + private TextBox textBoxEmail; + private TextBox textBoxPassword; + private ComboBox comboBoxRole; } } \ No newline at end of file diff --git a/Polyclinic/PolyclinicView/FormUser.resx b/Polyclinic/PolyclinicView/FormUser.resx index 1af7de1..af32865 100644 --- a/Polyclinic/PolyclinicView/FormUser.resx +++ b/Polyclinic/PolyclinicView/FormUser.resx @@ -1,17 +1,17 @@  -