public ProfileDescriptionControl(ProfileDescription data) : this() { DeviceManufacturerLabel.Text = data.DeviceManufacturer.ToString(); DeviceModelLabel.Text = data.DeviceModel.ToString(); TechnologyInformationLabel.Text = data.TechnologyInformation.ToString(); OpacityLabel.Text = data.DeviceAttributes.Opacity.ToString(); ReflectivityLabel.Text = data.DeviceAttributes.Reflectivity.ToString(); PolarityLabel.Text = data.DeviceAttributes.Polarity.ToString(); ChromaLabel.Text = data.DeviceAttributes.Chroma.ToString(); VendorDataLabel.Text = Conversion.FromBytesShort(data.DeviceAttributes.VendorData, true); DeviceManufacturerInfoPanel = new LocalizedStringControl(data.DeviceManufacturerInfo); DeviceModelInfoPanel = new LocalizedStringControl(data.DeviceModelInfo); }
public ProfileSequenceIdentifierControl(ProfileSequenceIdentifier data) : this() { ProfileIDLabel.Text = data.ID.ToString(); EntryLabeDescriptionPanell = new LocalizedStringControl(data.Description); }