public override void Assign(RepositoryItem item) { base.Assign(item); RepositoryItemCustomCheckedComboBoxEdit source = item as RepositoryItemCustomCheckedComboBoxEdit; Events.AddHandler(_convertCheckStateToEditValue, source.Events[_convertCheckStateToEditValue]); Events.AddHandler(_convertEditValueToCheckState, source.Events[_convertEditValueToCheckState]); }
static CustomCheckedComboBoxEdit() { RepositoryItemCustomCheckedComboBoxEdit.RegisterCustomCheckedComboBoxEdit(); }