diff --git a/Polyclinic/PolyclinicView/FormCourse.Designer.cs b/Polyclinic/PolyclinicView/FormCourse.Designer.cs index d709837..f065068 100644 --- a/Polyclinic/PolyclinicView/FormCourse.Designer.cs +++ b/Polyclinic/PolyclinicView/FormCourse.Designer.cs @@ -37,8 +37,9 @@ numericUpDownDaysCount = new NumericUpDown(); numericUpDownPillsPerDay = new NumericUpDown(); dataGridView = new DataGridView(); - buttonAddElement = new Button(); - buttonRemoveElement = new Button(); + buttonAddDiagnose = new Button(); + buttonRemoveDiagnose = new Button(); + labelTableName = new Label(); ((System.ComponentModel.ISupportInitialize)numericUpDownDaysCount).BeginInit(); ((System.ComponentModel.ISupportInitialize)numericUpDownPillsPerDay).BeginInit(); ((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit(); @@ -122,40 +123,50 @@ // dataGridView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; - dataGridView.Location = new Point(12, 119); + dataGridView.Location = new Point(12, 135); dataGridView.Name = "dataGridView"; dataGridView.RowHeadersWidth = 51; dataGridView.RowTemplate.Height = 29; dataGridView.Size = new Size(475, 221); dataGridView.TabIndex = 8; // - // buttonAddElement + // buttonAddDiagnose // - buttonAddElement.Anchor = AnchorStyles.Right; - buttonAddElement.Location = new Point(518, 140); - buttonAddElement.Name = "buttonAddElement"; - buttonAddElement.Size = new Size(94, 55); - buttonAddElement.TabIndex = 9; - buttonAddElement.Text = "Добавить болезнь"; - buttonAddElement.UseVisualStyleBackColor = true; + buttonAddDiagnose.Anchor = AnchorStyles.Top | AnchorStyles.Right; + buttonAddDiagnose.Location = new Point(518, 140); + buttonAddDiagnose.Name = "buttonAddDiagnose"; + buttonAddDiagnose.Size = new Size(94, 55); + buttonAddDiagnose.TabIndex = 9; + buttonAddDiagnose.Text = "Добавить болезнь"; + buttonAddDiagnose.UseVisualStyleBackColor = true; // - // buttonRemoveElement + // buttonRemoveDiagnose // - buttonRemoveElement.Anchor = AnchorStyles.Right; - buttonRemoveElement.Location = new Point(518, 243); - buttonRemoveElement.Name = "buttonRemoveElement"; - buttonRemoveElement.Size = new Size(94, 56); - buttonRemoveElement.TabIndex = 10; - buttonRemoveElement.Text = "Удалить болезнь"; - buttonRemoveElement.UseVisualStyleBackColor = true; + buttonRemoveDiagnose.Anchor = AnchorStyles.Top | AnchorStyles.Right; + buttonRemoveDiagnose.Location = new Point(518, 243); + buttonRemoveDiagnose.Name = "buttonRemoveDiagnose"; + buttonRemoveDiagnose.Size = new Size(94, 56); + buttonRemoveDiagnose.TabIndex = 10; + buttonRemoveDiagnose.Text = "Удалить болезнь"; + buttonRemoveDiagnose.UseVisualStyleBackColor = true; + // + // labelTableName + // + labelTableName.AutoSize = true; + labelTableName.Location = new Point(12, 112); + labelTableName.Name = "labelTableName"; + labelTableName.Size = new Size(68, 20); + labelTableName.TabIndex = 11; + labelTableName.Text = "Болезни"; // // FormCourse // AutoScaleDimensions = new SizeF(8F, 20F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(652, 403); - Controls.Add(buttonRemoveElement); - Controls.Add(buttonAddElement); + Controls.Add(labelTableName); + Controls.Add(buttonRemoveDiagnose); + Controls.Add(buttonAddDiagnose); Controls.Add(dataGridView); Controls.Add(numericUpDownPillsPerDay); Controls.Add(numericUpDownDaysCount); @@ -186,7 +197,8 @@ private NumericUpDown numericUpDownDaysCount; private NumericUpDown numericUpDownPillsPerDay; private DataGridView dataGridView; - private Button buttonAddElement; - private Button buttonRemoveElement; + private Button buttonAddDiagnose; + private Button buttonRemoveDiagnose; + private Label labelTableName; } } \ No newline at end of file