public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { return(Bin8.FromString(value.ToString())); }
public override bool OnInitialize() { base.OnInitialize(); _name = "Emitter"; desc = *Descriptor; drawSetting = desc.drawSetting; typeOption2 = new Bin8(drawSetting.typeOption2); return TevStageCount > 0; }