so i want my combobox to show 1 of the attributes of the item C in the list.
here is what i have so far:
public List<C> PresetList = new List<C>();
private int CCount;
public delegate void CListItemsChanged(int Count);
public event CListItemsChanged ItemsChanged;
private void GetListItemCount(int Count)
{
CCount = CList.Count;
}
public formMain()
{
this.CCount = this.CList.Count;
InitializeComponent();
}
Right now I just want to modify the int variable to figure this out. any suggestions/ i read the custom events tutorial but i keep gettign told i cant apply the event to the list.

New Topic/Question
Reply
MultiQuote








|