public override void Assign(RepositoryItem item) { BeginUpdate(); try { if (!(item is RepositoryItemMRUComboBox)) { return; } RepositoryItemMRUComboBox source = (RepositoryItemMRUComboBox)item; base.Assign(item); this.MRUItemsCount = source.MRUItemsCount; this.lineItemIndex = source.lineItemIndex; this.recentItems.Clear(); this.recentItems.AddRange(source.recentItems); } finally { EndUpdate(); } }
static MRUComboBoxEdit() { RepositoryItemMRUComboBox.Register(); }