private void rbManufacturerId_CheckedChanged(object sender, EventArgs e) { if (!(identificationNumber is ManufacturerIdentificationNumber)) identificationNumber = new ManufacturerIdentificationNumber(); SetControlStates(); }