From 612d7601f8ea1eacb73914e6e19dd173e76f6517 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:43:43 +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=80=D0=B5=D1=86=D0=B5=D0=BF=D1=82=D0=BE?= =?UTF-8?q?=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PolyclinicView/FormCourses.Designer.cs | 12 +- .../FormMedicaments.Designer.cs | 12 +- .../PolyclinicView/FormProcedures.Designer.cs | 20 +-- .../PolyclinicView/FormRecipes.Designer.cs | 126 ++++++++++++++++++ Polyclinic/PolyclinicView/FormRecipes.cs | 20 +++ Polyclinic/PolyclinicView/FormRecipes.resx | 120 +++++++++++++++++ 6 files changed, 288 insertions(+), 22 deletions(-) create mode 100644 Polyclinic/PolyclinicView/FormRecipes.Designer.cs create mode 100644 Polyclinic/PolyclinicView/FormRecipes.cs create mode 100644 Polyclinic/PolyclinicView/FormRecipes.resx diff --git a/Polyclinic/PolyclinicView/FormCourses.Designer.cs b/Polyclinic/PolyclinicView/FormCourses.Designer.cs index 65b0af6..be2e0f5 100644 --- a/Polyclinic/PolyclinicView/FormCourses.Designer.cs +++ b/Polyclinic/PolyclinicView/FormCourses.Designer.cs @@ -39,7 +39,7 @@ // buttonRefresh // buttonRefresh.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; - buttonRefresh.Location = new Point(734, 380); + buttonRefresh.Location = new Point(612, 380); buttonRefresh.Margin = new Padding(3, 5, 3, 5); buttonRefresh.Name = "buttonRefresh"; buttonRefresh.Size = new Size(210, 75); @@ -50,7 +50,7 @@ // buttonDelete // buttonDelete.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; - buttonDelete.Location = new Point(734, 264); + buttonDelete.Location = new Point(612, 264); buttonDelete.Margin = new Padding(3, 5, 3, 5); buttonDelete.Name = "buttonDelete"; buttonDelete.Size = new Size(210, 75); @@ -61,7 +61,7 @@ // buttonUpdate // buttonUpdate.Anchor = AnchorStyles.Top | AnchorStyles.Right; - buttonUpdate.Location = new Point(734, 147); + buttonUpdate.Location = new Point(612, 147); buttonUpdate.Margin = new Padding(3, 5, 3, 5); buttonUpdate.Name = "buttonUpdate"; buttonUpdate.Size = new Size(210, 75); @@ -72,7 +72,7 @@ // buttonAdd // buttonAdd.Anchor = AnchorStyles.Top | AnchorStyles.Right; - buttonAdd.Location = new Point(734, 24); + buttonAdd.Location = new Point(612, 24); buttonAdd.Margin = new Padding(3, 5, 3, 5); buttonAdd.Name = "buttonAdd"; buttonAdd.Size = new Size(210, 75); @@ -94,7 +94,7 @@ dataGridView.RowHeadersWidth = 51; dataGridView.RowTemplate.Height = 29; dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect; - dataGridView.Size = new Size(664, 472); + dataGridView.Size = new Size(541, 472); dataGridView.TabIndex = 5; // // FormCourses @@ -102,7 +102,7 @@ AutoScaleDimensions = new SizeF(9F, 21F); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.Silver; - ClientSize = new Size(1009, 472); + ClientSize = new Size(887, 472); Controls.Add(buttonRefresh); Controls.Add(buttonDelete); Controls.Add(buttonUpdate); diff --git a/Polyclinic/PolyclinicView/FormMedicaments.Designer.cs b/Polyclinic/PolyclinicView/FormMedicaments.Designer.cs index d62189c..974b1c5 100644 --- a/Polyclinic/PolyclinicView/FormMedicaments.Designer.cs +++ b/Polyclinic/PolyclinicView/FormMedicaments.Designer.cs @@ -39,7 +39,7 @@ // buttonRefresh // buttonRefresh.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; - buttonRefresh.Location = new Point(705, 383); + buttonRefresh.Location = new Point(650, 383); buttonRefresh.Margin = new Padding(3, 4, 3, 4); buttonRefresh.Name = "buttonRefresh"; buttonRefresh.Size = new Size(210, 75); @@ -50,7 +50,7 @@ // buttonDelete // buttonDelete.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; - buttonDelete.Location = new Point(705, 267); + buttonDelete.Location = new Point(650, 267); buttonDelete.Margin = new Padding(3, 4, 3, 4); buttonDelete.Name = "buttonDelete"; buttonDelete.Size = new Size(210, 75); @@ -61,7 +61,7 @@ // buttonUpdate // buttonUpdate.Anchor = AnchorStyles.Top | AnchorStyles.Right; - buttonUpdate.Location = new Point(705, 146); + buttonUpdate.Location = new Point(650, 146); buttonUpdate.Margin = new Padding(3, 4, 3, 4); buttonUpdate.Name = "buttonUpdate"; buttonUpdate.Size = new Size(210, 75); @@ -72,7 +72,7 @@ // buttonAdd // buttonAdd.Anchor = AnchorStyles.Top | AnchorStyles.Right; - buttonAdd.Location = new Point(705, 23); + buttonAdd.Location = new Point(650, 23); buttonAdd.Margin = new Padding(3, 4, 3, 4); buttonAdd.Name = "buttonAdd"; buttonAdd.Size = new Size(210, 75); @@ -94,7 +94,7 @@ dataGridView.RowHeadersWidth = 51; dataGridView.RowTemplate.Height = 29; dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect; - dataGridView.Size = new Size(664, 477); + dataGridView.Size = new Size(582, 477); dataGridView.TabIndex = 10; // // FormMedicaments @@ -102,7 +102,7 @@ AutoScaleDimensions = new SizeF(9F, 21F); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.LightGreen; - ClientSize = new Size(952, 477); + ClientSize = new Size(897, 477); Controls.Add(buttonRefresh); Controls.Add(buttonDelete); Controls.Add(buttonUpdate); diff --git a/Polyclinic/PolyclinicView/FormProcedures.Designer.cs b/Polyclinic/PolyclinicView/FormProcedures.Designer.cs index d152b65..e6dfd46 100644 --- a/Polyclinic/PolyclinicView/FormProcedures.Designer.cs +++ b/Polyclinic/PolyclinicView/FormProcedures.Designer.cs @@ -39,10 +39,10 @@ // buttonRefresh // buttonRefresh.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; - buttonRefresh.Location = new Point(794, 373); + buttonRefresh.Location = new Point(647, 373); buttonRefresh.Margin = new Padding(3, 4, 3, 4); buttonRefresh.Name = "buttonRefresh"; - buttonRefresh.Size = new Size(192, 69); + buttonRefresh.Size = new Size(184, 69); buttonRefresh.TabIndex = 19; buttonRefresh.Text = "Обновить"; buttonRefresh.UseVisualStyleBackColor = true; @@ -50,10 +50,10 @@ // buttonDelete // buttonDelete.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; - buttonDelete.Location = new Point(794, 262); + buttonDelete.Location = new Point(647, 262); buttonDelete.Margin = new Padding(3, 4, 3, 4); buttonDelete.Name = "buttonDelete"; - buttonDelete.Size = new Size(192, 69); + buttonDelete.Size = new Size(184, 69); buttonDelete.TabIndex = 18; buttonDelete.Text = "Удалить"; buttonDelete.UseVisualStyleBackColor = true; @@ -61,10 +61,10 @@ // buttonUpdate // buttonUpdate.Anchor = AnchorStyles.Top | AnchorStyles.Right; - buttonUpdate.Location = new Point(794, 148); + buttonUpdate.Location = new Point(647, 148); buttonUpdate.Margin = new Padding(3, 4, 3, 4); buttonUpdate.Name = "buttonUpdate"; - buttonUpdate.Size = new Size(192, 69); + buttonUpdate.Size = new Size(184, 69); buttonUpdate.TabIndex = 17; buttonUpdate.Text = "Изменить"; buttonUpdate.UseVisualStyleBackColor = true; @@ -72,10 +72,10 @@ // buttonAdd // buttonAdd.Anchor = AnchorStyles.Top | AnchorStyles.Right; - buttonAdd.Location = new Point(794, 33); + buttonAdd.Location = new Point(647, 33); buttonAdd.Margin = new Padding(3, 4, 3, 4); buttonAdd.Name = "buttonAdd"; - buttonAdd.Size = new Size(192, 69); + buttonAdd.Size = new Size(184, 69); buttonAdd.TabIndex = 16; buttonAdd.Text = "Добавить"; buttonAdd.UseVisualStyleBackColor = true; @@ -94,7 +94,7 @@ dataGridView.RowHeadersWidth = 51; dataGridView.RowTemplate.Height = 29; dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect; - dataGridView.Size = new Size(747, 453); + dataGridView.Size = new Size(585, 453); dataGridView.TabIndex = 15; // // FormProcedures @@ -102,7 +102,7 @@ AutoScaleDimensions = new SizeF(9F, 21F); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.DarkSalmon; - ClientSize = new Size(1030, 453); + ClientSize = new Size(883, 453); Controls.Add(buttonRefresh); Controls.Add(buttonDelete); Controls.Add(buttonUpdate); diff --git a/Polyclinic/PolyclinicView/FormRecipes.Designer.cs b/Polyclinic/PolyclinicView/FormRecipes.Designer.cs new file mode 100644 index 0000000..e3aba37 --- /dev/null +++ b/Polyclinic/PolyclinicView/FormRecipes.Designer.cs @@ -0,0 +1,126 @@ +namespace PolyclinicView +{ + partial class FormRecipes + { + /// + /// 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(630, 355); + buttonRefresh.Margin = new Padding(3, 4, 3, 4); + buttonRefresh.Name = "buttonRefresh"; + buttonRefresh.Size = new Size(208, 69); + buttonRefresh.TabIndex = 19; + buttonRefresh.Text = "Обновить"; + buttonRefresh.UseVisualStyleBackColor = true; + // + // buttonDelete + // + buttonDelete.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonDelete.Location = new Point(630, 248); + buttonDelete.Margin = new Padding(3, 4, 3, 4); + buttonDelete.Name = "buttonDelete"; + buttonDelete.Size = new Size(208, 69); + buttonDelete.TabIndex = 18; + buttonDelete.Text = "Удалить"; + buttonDelete.UseVisualStyleBackColor = true; + // + // buttonUpdate + // + buttonUpdate.Anchor = AnchorStyles.Top | AnchorStyles.Right; + buttonUpdate.Location = new Point(630, 143); + buttonUpdate.Margin = new Padding(3, 4, 3, 4); + buttonUpdate.Name = "buttonUpdate"; + buttonUpdate.Size = new Size(208, 69); + buttonUpdate.TabIndex = 17; + buttonUpdate.Text = "Изменить"; + buttonUpdate.UseVisualStyleBackColor = true; + // + // buttonAdd + // + buttonAdd.Anchor = AnchorStyles.Top | AnchorStyles.Right; + buttonAdd.Location = new Point(630, 35); + buttonAdd.Margin = new Padding(3, 4, 3, 4); + buttonAdd.Name = "buttonAdd"; + buttonAdd.Size = new Size(208, 69); + buttonAdd.TabIndex = 16; + buttonAdd.Text = "Добавить"; + buttonAdd.UseVisualStyleBackColor = true; + // + // dataGridView + // + dataGridView.BackgroundColor = Color.AliceBlue; + dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; + dataGridView.Dock = DockStyle.Left; + 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, 437); + dataGridView.TabIndex = 15; + // + // FormRecipes + // + AutoScaleDimensions = new SizeF(9F, 21F); + AutoScaleMode = AutoScaleMode.Font; + BackColor = SystemColors.ActiveCaption; + ClientSize = new Size(889, 437); + 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 = "FormRecipes"; + 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/FormRecipes.cs b/Polyclinic/PolyclinicView/FormRecipes.cs new file mode 100644 index 0000000..65eb4c4 --- /dev/null +++ b/Polyclinic/PolyclinicView/FormRecipes.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 FormRecipes : Form + { + public FormRecipes() + { + InitializeComponent(); + } + } +} diff --git a/Polyclinic/PolyclinicView/FormRecipes.resx b/Polyclinic/PolyclinicView/FormRecipes.resx new file mode 100644 index 0000000..af32865 --- /dev/null +++ b/Polyclinic/PolyclinicView/FormRecipes.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