コード例 #1
0
            public int Add(object item)
            {
                _owner.CheckNoDataSource();
                int index = AddInternal(item);

                if (_owner.UpdateNeeded() && _owner.AutoCompleteSource == AutoCompleteSource.ListItems)
                {
                    _owner.SetAutoComplete(false, false);
                }
                return(index);
            }