private void addLaboratoryButton_Click(object sender, EventArgs e) { DetailedLaboratoryForm detailedLabForm = new DetailedLaboratoryForm(appointment); detailedLabForm.ShowDialog(this); FillLaboratoryGrid(); //TODO add examination to datagrid }
private void laboratoryDetailsButton_Click(object sender, EventArgs e) { LaboratoryExamination laboratory = GetSelectedLaboratoryExamination(); if (laboratory != null) { DetailedLaboratoryForm detailedLabForm = new DetailedLaboratoryForm(laboratory, false); detailedLabForm.ShowDialog(this); } }