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

            BeginUpdate();
            try
            {
                base.Assign(item);
                this.DisplayMember       = source.DisplayMember;
                this.ValueMember         = source.ValueMember;
                this.DataSource          = source.DataSource;
                this.ImmediatePopupForm  = source.ImmediatePopupForm;
                this.EnableFilter        = source.EnableFilter;
                this.CaseSensitiveSearch = source.CaseSensitiveSearch;
                this.SearchMode          = source.SearchMode;
            }
            finally
            {
                EndUpdate();
            }
        }
Example #2
0
 static TreeListLookUpEdit()
 {
     RepositoryItemTreeListLookUpEdit.Register();
 }