private void rbOther_CheckedChanged(object sender, EventArgs e) { if (rbOther.Checked) { _incident.IncidentType = Incident.IncidentTypeEnum.Other; incidentTypeBase = new OtherType(this); } }
private void rbStaffAndStudent_CheckedChanged(object sender, EventArgs e) { if (rbStaffAndStudent.Checked) { _incident.IncidentType = Incident.IncidentTypeEnum.StaffAndStudent; incidentTypeBase = new StaffAndStudentType(this); } }