Поправил фронт формы добавления курса

This commit is contained in:
Никита Потапов 2024-04-30 10:04:55 +04:00
parent b439e41799
commit 51b03a98aa

View File

@ -36,20 +36,18 @@
comboBoxRecipe = new ComboBox();
numericUpDownDaysCount = new NumericUpDown();
numericUpDownPillsPerDay = new NumericUpDown();
dataGridViewAllDiagnoses = new DataGridView();
dataGridViewAddrdDiagnoses = new DataGridView();
dataGridView = new DataGridView();
buttonAddElement = new Button();
buttonrRemoveElement = new Button();
buttonRemoveElement = new Button();
((System.ComponentModel.ISupportInitialize)numericUpDownDaysCount).BeginInit();
((System.ComponentModel.ISupportInitialize)numericUpDownPillsPerDay).BeginInit();
((System.ComponentModel.ISupportInitialize)dataGridViewAllDiagnoses).BeginInit();
((System.ComponentModel.ISupportInitialize)dataGridViewAddrdDiagnoses).BeginInit();
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
SuspendLayout();
//
// buttonApply
//
buttonApply.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
buttonApply.Location = new Point(413, 364);
buttonApply.Location = new Point(446, 362);
buttonApply.Name = "buttonApply";
buttonApply.Size = new Size(94, 29);
buttonApply.TabIndex = 0;
@ -59,7 +57,7 @@
// buttonCancel
//
buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
buttonCancel.Location = new Point(513, 364);
buttonCancel.Location = new Point(546, 362);
buttonCancel.Name = "buttonCancel";
buttonCancel.Size = new Size(94, 29);
buttonCancel.TabIndex = 1;
@ -101,7 +99,7 @@
comboBoxRecipe.FormattingEnabled = true;
comboBoxRecipe.Location = new Point(78, 72);
comboBoxRecipe.Name = "comboBoxRecipe";
comboBoxRecipe.Size = new Size(529, 28);
comboBoxRecipe.Size = new Size(562, 28);
comboBoxRecipe.TabIndex = 5;
//
// numericUpDownDaysCount
@ -109,7 +107,7 @@
numericUpDownDaysCount.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
numericUpDownDaysCount.Location = new Point(235, 7);
numericUpDownDaysCount.Name = "numericUpDownDaysCount";
numericUpDownDaysCount.Size = new Size(372, 27);
numericUpDownDaysCount.Size = new Size(405, 27);
numericUpDownDaysCount.TabIndex = 6;
//
// numericUpDownPillsPerDay
@ -117,56 +115,48 @@
numericUpDownPillsPerDay.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
numericUpDownPillsPerDay.Location = new Point(235, 37);
numericUpDownPillsPerDay.Name = "numericUpDownPillsPerDay";
numericUpDownPillsPerDay.Size = new Size(372, 27);
numericUpDownPillsPerDay.Size = new Size(405, 27);
numericUpDownPillsPerDay.TabIndex = 7;
//
// dataGridViewAllDiagnoses
// dataGridView
//
dataGridViewAllDiagnoses.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridViewAllDiagnoses.Location = new Point(12, 106);
dataGridViewAllDiagnoses.Name = "dataGridViewAllDiagnoses";
dataGridViewAllDiagnoses.RowHeadersWidth = 51;
dataGridViewAllDiagnoses.RowTemplate.Height = 29;
dataGridViewAllDiagnoses.Size = new Size(247, 235);
dataGridViewAllDiagnoses.TabIndex = 8;
//
// dataGridViewAddrdDiagnoses
//
dataGridViewAddrdDiagnoses.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridViewAddrdDiagnoses.Location = new Point(329, 106);
dataGridViewAddrdDiagnoses.Name = "dataGridViewAddrdDiagnoses";
dataGridViewAddrdDiagnoses.RowHeadersWidth = 51;
dataGridViewAddrdDiagnoses.RowTemplate.Height = 29;
dataGridViewAddrdDiagnoses.Size = new Size(278, 235);
dataGridViewAddrdDiagnoses.TabIndex = 9;
dataGridView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView.Location = new Point(12, 119);
dataGridView.Name = "dataGridView";
dataGridView.RowHeadersWidth = 51;
dataGridView.RowTemplate.Height = 29;
dataGridView.Size = new Size(475, 221);
dataGridView.TabIndex = 8;
//
// buttonAddElement
//
buttonAddElement.Location = new Point(265, 168);
buttonAddElement.Anchor = AnchorStyles.Right;
buttonAddElement.Location = new Point(518, 140);
buttonAddElement.Name = "buttonAddElement";
buttonAddElement.Size = new Size(58, 29);
buttonAddElement.TabIndex = 10;
buttonAddElement.Text = "=>";
buttonAddElement.Size = new Size(94, 55);
buttonAddElement.TabIndex = 9;
buttonAddElement.Text = "Добавить болезнь";
buttonAddElement.UseVisualStyleBackColor = true;
//
// buttonrRemoveElement
// buttonRemoveElement
//
buttonrRemoveElement.Location = new Point(265, 241);
buttonrRemoveElement.Name = "buttonrRemoveElement";
buttonrRemoveElement.Size = new Size(58, 29);
buttonrRemoveElement.TabIndex = 11;
buttonrRemoveElement.Text = "<=";
buttonrRemoveElement.UseVisualStyleBackColor = true;
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;
//
// FormCourse
//
AutoScaleDimensions = new SizeF(8F, 20F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(619, 405);
Controls.Add(buttonrRemoveElement);
ClientSize = new Size(652, 403);
Controls.Add(buttonRemoveElement);
Controls.Add(buttonAddElement);
Controls.Add(dataGridViewAddrdDiagnoses);
Controls.Add(dataGridViewAllDiagnoses);
Controls.Add(dataGridView);
Controls.Add(numericUpDownPillsPerDay);
Controls.Add(numericUpDownDaysCount);
Controls.Add(comboBoxRecipe);
@ -175,12 +165,12 @@
Controls.Add(labelDaysCount);
Controls.Add(buttonCancel);
Controls.Add(buttonApply);
MinimumSize = new Size(670, 450);
Name = "FormCourse";
Text = "Редактировать курс";
((System.ComponentModel.ISupportInitialize)numericUpDownDaysCount).EndInit();
((System.ComponentModel.ISupportInitialize)numericUpDownPillsPerDay).EndInit();
((System.ComponentModel.ISupportInitialize)dataGridViewAllDiagnoses).EndInit();
((System.ComponentModel.ISupportInitialize)dataGridViewAddrdDiagnoses).EndInit();
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
ResumeLayout(false);
PerformLayout();
}
@ -195,9 +185,8 @@
private ComboBox comboBoxRecipe;
private NumericUpDown numericUpDownDaysCount;
private NumericUpDown numericUpDownPillsPerDay;
private DataGridView dataGridViewAllDiagnoses;
private DataGridView dataGridViewAddrdDiagnoses;
private DataGridView dataGridView;
private Button buttonAddElement;
private Button buttonrRemoveElement;
private Button buttonRemoveElement;
}
}