void _itemContainer_OnSelectedItemChanged(SEComboSelectorItem item)
        {
            this.Invalidate();

            //Application.DoEvents();

            if (this.OnSelectedValueChanged != null)
            {
                if (item != null)
                {
                    OnSelectedValueChanged(item.Value);
                }
                else
                {
                    OnSelectedValueChanged(null);
                }
            }
        }
Beispiel #2
0
 private void AddItem(SEComboSelectorItem item)
 {
     item.ItemContainer = this;
     this._items.Add(item);
 }
Beispiel #3
0
 public virtual void Remove(SEComboSelectorItem value)
 {
     List.Remove(value);
 }
Beispiel #4
0
 public void Insert(int index, SEComboSelectorItem value)
 {
     List.Insert(index, value);
 }
Beispiel #5
0
 public int IndexOf(SEComboSelectorItem value)
 {
     return(List.IndexOf(value));
 }
Beispiel #6
0
 public bool Contains(SEComboSelectorItem value)
 {
     return(List.Contains(value));
 }
Beispiel #7
0
 public virtual int Add(SEComboSelectorItem value)
 {
     return(List.Add(value));
 }
 void _itemContainer_OnItemClick(SEComboSelectorItem item)
 {
     _popup.Close();
 }