From 9fa48cc13124d2580a5bbb099832b45b781d7b2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=91=D0=B0=D0=BA=D0=B0?= =?UTF-8?q?=D0=BB=D1=8C=D1=81=D0=BA=D0=B0=D1=8F?= Date: Mon, 29 Apr 2024 23:49:23 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB?= =?UTF-8?q?=D0=B0=20=D1=84=D0=BE=D1=80=D0=BC=D1=83=20=D1=81=D0=BF=D0=B8?= =?UTF-8?q?=D1=81=D0=BA=D0=B0=20=D1=81=D0=B8=D0=BC=D0=BF=D1=82=D0=BE=D0=BC?= =?UTF-8?q?=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PolyclinicView/FormSymptoms.Designer.cs | 127 ++++++++++++++++++ Polyclinic/PolyclinicView/FormSymptoms.cs | 20 +++ Polyclinic/PolyclinicView/FormSymptoms.resx | 120 +++++++++++++++++ 3 files changed, 267 insertions(+) create mode 100644 Polyclinic/PolyclinicView/FormSymptoms.Designer.cs create mode 100644 Polyclinic/PolyclinicView/FormSymptoms.cs create mode 100644 Polyclinic/PolyclinicView/FormSymptoms.resx diff --git a/Polyclinic/PolyclinicView/FormSymptoms.Designer.cs b/Polyclinic/PolyclinicView/FormSymptoms.Designer.cs new file mode 100644 index 0000000..553a50d --- /dev/null +++ b/Polyclinic/PolyclinicView/FormSymptoms.Designer.cs @@ -0,0 +1,127 @@ +namespace PolyclinicView +{ + partial class FormSymptoms + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + buttonRefresh = new Button(); + buttonDelete = new Button(); + buttonUpdate = new Button(); + buttonAdd = new Button(); + dataGridView = new DataGridView(); + ((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit(); + SuspendLayout(); + // + // buttonRefresh + // + buttonRefresh.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonRefresh.Location = new Point(607, 369); + buttonRefresh.Margin = new Padding(3, 4, 3, 4); + buttonRefresh.Name = "buttonRefresh"; + buttonRefresh.Size = new Size(234, 72); + buttonRefresh.TabIndex = 24; + buttonRefresh.Text = "Обновить"; + buttonRefresh.UseVisualStyleBackColor = true; + // + // buttonDelete + // + buttonDelete.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonDelete.Location = new Point(607, 256); + buttonDelete.Margin = new Padding(3, 4, 3, 4); + buttonDelete.Name = "buttonDelete"; + buttonDelete.Size = new Size(234, 72); + buttonDelete.TabIndex = 23; + buttonDelete.Text = "Удалить"; + buttonDelete.UseVisualStyleBackColor = true; + // + // buttonUpdate + // + buttonUpdate.Anchor = AnchorStyles.Top | AnchorStyles.Right; + buttonUpdate.Location = new Point(607, 146); + buttonUpdate.Margin = new Padding(3, 4, 3, 4); + buttonUpdate.Name = "buttonUpdate"; + buttonUpdate.Size = new Size(234, 72); + buttonUpdate.TabIndex = 22; + buttonUpdate.Text = "Изменить"; + buttonUpdate.UseVisualStyleBackColor = true; + // + // buttonAdd + // + buttonAdd.Anchor = AnchorStyles.Top | AnchorStyles.Right; + buttonAdd.Location = new Point(607, 33); + buttonAdd.Margin = new Padding(3, 4, 3, 4); + buttonAdd.Name = "buttonAdd"; + buttonAdd.Size = new Size(234, 72); + buttonAdd.TabIndex = 21; + buttonAdd.Text = "Добавить"; + buttonAdd.UseVisualStyleBackColor = true; + // + // dataGridView + // + dataGridView.BackgroundColor = Color.LavenderBlush; + dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; + dataGridView.Dock = DockStyle.Left; + dataGridView.GridColor = Color.Pink; + dataGridView.Location = new Point(0, 0); + dataGridView.Margin = new Padding(3, 4, 3, 4); + dataGridView.MultiSelect = false; + dataGridView.Name = "dataGridView"; + dataGridView.ReadOnly = true; + dataGridView.RowHeadersVisible = false; + dataGridView.RowHeadersWidth = 51; + dataGridView.RowTemplate.Height = 29; + dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect; + dataGridView.Size = new Size(554, 472); + dataGridView.TabIndex = 20; + // + // FormSymptoms + // + AutoScaleDimensions = new SizeF(9F, 21F); + AutoScaleMode = AutoScaleMode.Font; + BackColor = Color.Plum; + ClientSize = new Size(882, 472); + Controls.Add(buttonRefresh); + Controls.Add(buttonDelete); + Controls.Add(buttonUpdate); + Controls.Add(buttonAdd); + Controls.Add(dataGridView); + Font = new Font("Candara", 10.2F, FontStyle.Regular, GraphicsUnit.Point); + Name = "FormSymptoms"; + Text = "Список симптомов"; + ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit(); + ResumeLayout(false); + } + + #endregion + + private Button buttonRefresh; + private Button buttonDelete; + private Button buttonUpdate; + private Button buttonAdd; + private DataGridView dataGridView; + } +} \ No newline at end of file diff --git a/Polyclinic/PolyclinicView/FormSymptoms.cs b/Polyclinic/PolyclinicView/FormSymptoms.cs new file mode 100644 index 0000000..5f8c952 --- /dev/null +++ b/Polyclinic/PolyclinicView/FormSymptoms.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace PolyclinicView +{ + public partial class FormSymptoms : Form + { + public FormSymptoms() + { + InitializeComponent(); + } + } +} diff --git a/Polyclinic/PolyclinicView/FormSymptoms.resx b/Polyclinic/PolyclinicView/FormSymptoms.resx new file mode 100644 index 0000000..af32865 --- /dev/null +++ b/Polyclinic/PolyclinicView/FormSymptoms.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file