Пример #1
0
 /// <summary>
 /// Removes the member at the given index from the list box.
 /// </summary>
 public bool Remove(EntryData <T> entry) =>
 (bool)GetOrSetMemberFunc(entry.ID, (int)ListBoxAccessors.Remove);
Пример #2
0
 /// <summary>
 /// Sets the selection to the specified entry.
 /// </summary>
 public void SetSelection(EntryData <T> entry) =>
 GetOrSetMemberFunc(entry.ID, (int)ListBoxAccessors.Selection);