Beispiel #1
0
        public override void Assign(RepositoryItem item)
        {
            RepositoryItemCustomEdit source = item as RepositoryItemCustomEdit;

            BeginUpdate();
            try {
                base.Assign(item);
                if (source == null)
                {
                    return;
                }
            }
            finally {
                EndUpdate();
            }
            Events.AddHandler(invalidCharacter, source.Events[invalidCharacter]);
        }
Beispiel #2
0
 static CustomEdit()
 {
     RepositoryItemCustomEdit.RegisterCustomEdit();
 }