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();
            }
        }
Beispiel #2
0
 static MRUComboBoxEdit()
 {
     RepositoryItemMRUComboBox.Register();
 }