точно готово
This commit is contained in:
parent
6cd38e0439
commit
a56d1f3a43
@ -100,7 +100,7 @@
|
|||||||
//
|
//
|
||||||
// buttonCancel
|
// buttonCancel
|
||||||
//
|
//
|
||||||
buttonCancel.Location = new Point(194, 153);
|
buttonCancel.Location = new Point(288, 153);
|
||||||
buttonCancel.Name = "buttonCancel";
|
buttonCancel.Name = "buttonCancel";
|
||||||
buttonCancel.Size = new Size(95, 34);
|
buttonCancel.Size = new Size(95, 34);
|
||||||
buttonCancel.TabIndex = 7;
|
buttonCancel.TabIndex = 7;
|
||||||
@ -122,6 +122,7 @@
|
|||||||
Controls.Add(label1);
|
Controls.Add(label1);
|
||||||
Controls.Add(comboBoxSpec);
|
Controls.Add(comboBoxSpec);
|
||||||
Name = "FormDoctor";
|
Name = "FormDoctor";
|
||||||
|
StartPosition = FormStartPosition.CenterParent;
|
||||||
Text = "Врач";
|
Text = "Врач";
|
||||||
ResumeLayout(false);
|
ResumeLayout(false);
|
||||||
PerformLayout();
|
PerformLayout();
|
||||||
|
@ -33,7 +33,7 @@ namespace ProjectPolyclinic.Forms
|
|||||||
comboBoxSpec.SelectedItem = doctor.Specialization;
|
comboBoxSpec.SelectedItem = doctor.Specialization;
|
||||||
_doctorId = value;
|
_doctorId = value;
|
||||||
}
|
}
|
||||||
catch(Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
MessageBox.Show(ex.Message, "Ошибка при полученииданных", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
MessageBox.Show(ex.Message, "Ошибка при полученииданных", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
return;
|
return;
|
||||||
@ -77,7 +77,12 @@ namespace ProjectPolyclinic.Forms
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void ButtonCancel_Click(object sender, EventArgs e) => Close();
|
private void ButtonCancel_Click(object sender, EventArgs e) => Close();
|
||||||
private Doctor CreateDoctor(int id) => Doctor.CreateEntity(id, textBoxNameDoctor.Text, textBoxName2Doctor.Text,
|
private Doctor CreateDoctor(int id) => Doctor.CreateEntity(id, textBoxNameDoctor.Text, textBoxName2Doctor.Text,
|
||||||
(Specialization)comboBoxSpec.SelectedItem!);
|
(Specialization)comboBoxSpec.SelectedItem!);
|
||||||
|
|
||||||
|
private void FormDoctor_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -107,6 +107,7 @@
|
|||||||
Controls.Add(dataGridViewData);
|
Controls.Add(dataGridViewData);
|
||||||
Controls.Add(panel1);
|
Controls.Add(panel1);
|
||||||
Name = "FormDoctors";
|
Name = "FormDoctors";
|
||||||
|
StartPosition = FormStartPosition.CenterParent;
|
||||||
Text = "Врачи";
|
Text = "Врачи";
|
||||||
Load += FormDoctors_Load;
|
Load += FormDoctors_Load;
|
||||||
panel1.ResumeLayout(false);
|
panel1.ResumeLayout(false);
|
||||||
|
@ -122,6 +122,7 @@
|
|||||||
Controls.Add(textBoxDosing);
|
Controls.Add(textBoxDosing);
|
||||||
Controls.Add(checkedListBoxMedicinesType);
|
Controls.Add(checkedListBoxMedicinesType);
|
||||||
Name = "FormMedication";
|
Name = "FormMedication";
|
||||||
|
StartPosition = FormStartPosition.CenterParent;
|
||||||
Text = "Медикамент";
|
Text = "Медикамент";
|
||||||
ResumeLayout(false);
|
ResumeLayout(false);
|
||||||
PerformLayout();
|
PerformLayout();
|
||||||
|
@ -104,6 +104,7 @@
|
|||||||
Controls.Add(label2);
|
Controls.Add(label2);
|
||||||
Controls.Add(label1);
|
Controls.Add(label1);
|
||||||
Name = "FormProfessionalDevelopment";
|
Name = "FormProfessionalDevelopment";
|
||||||
|
StartPosition = FormStartPosition.CenterParent;
|
||||||
Text = "Повышение квалификации врача";
|
Text = "Повышение квалификации врача";
|
||||||
ResumeLayout(false);
|
ResumeLayout(false);
|
||||||
PerformLayout();
|
PerformLayout();
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
Controls.Add(dataGridViewData);
|
Controls.Add(dataGridViewData);
|
||||||
Controls.Add(panel1);
|
Controls.Add(panel1);
|
||||||
Name = "FormProfessional_developments";
|
Name = "FormProfessional_developments";
|
||||||
|
StartPosition = FormStartPosition.CenterParent;
|
||||||
Text = "Повышение квалификации врачей";
|
Text = "Повышение квалификации врачей";
|
||||||
Load += FormProfessionalDevelopments_Load;
|
Load += FormProfessionalDevelopments_Load;
|
||||||
panel1.ResumeLayout(false);
|
panel1.ResumeLayout(false);
|
||||||
|
@ -190,6 +190,7 @@
|
|||||||
Controls.Add(label2);
|
Controls.Add(label2);
|
||||||
Controls.Add(label1);
|
Controls.Add(label1);
|
||||||
Name = "FormVisiting";
|
Name = "FormVisiting";
|
||||||
|
StartPosition = FormStartPosition.CenterParent;
|
||||||
Text = "Визит";
|
Text = "Визит";
|
||||||
((System.ComponentModel.ISupportInitialize)dataGridViewMedicines).EndInit();
|
((System.ComponentModel.ISupportInitialize)dataGridViewMedicines).EndInit();
|
||||||
groupBoxMedicines.ResumeLayout(false);
|
groupBoxMedicines.ResumeLayout(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user