public override void Assign(RepositoryItem item) { BeginUpdate(); try { base.Assign(item); RepositoryItemCustomRadioGroup source = item as RepositoryItemCustomRadioGroup; if (source == null) { return; } Events.AddHandler(customDraw, source.Events[customDraw]); } finally { EndUpdate(); } }
static CustomRadioGroup() { RepositoryItemCustomRadioGroup.RegisterCustomEdit(); }