T
totto
Hi,
Can anyone please explain to me how it's possible to make an object from an
Interface.
I thought Interfaces was just for inheritance, but in the following code I
have made an instance of a Interface, myEnumerator.
The code unchecks all checked items in a checkedListBox.
IEnumerator myEnumerator = checkedListBox1.CheckedIndices.GetEnumerator();
while(myEnumerator.MoveNext())checkedListBox1.SetItemChecked((int)myEnumerator.Current,false);
Best regards
Totto
Can anyone please explain to me how it's possible to make an object from an
Interface.
I thought Interfaces was just for inheritance, but in the following code I
have made an instance of a Interface, myEnumerator.
The code unchecks all checked items in a checkedListBox.
IEnumerator myEnumerator = checkedListBox1.CheckedIndices.GetEnumerator();
while(myEnumerator.MoveNext())checkedListBox1.SetItemChecked((int)myEnumerator.Current,false);
Best regards
Totto