C# Programming
08-24-2009, 06:22 AM
I'm sure this is a very noobish question and the answer will be obvious once I get it although here it is...
I have created a class that inherits from BindingList and I'm trying to enable the FindCore method. The code is below:
public class AccountList : BindingList
{
protected override bool SupportsSearchingCore
{
get
{
return true;
}
}
protected override int FindCore(PropertyDescriptor prop, object key)
{
for (int i = 0; i <span class="code-keyword">
I have created a class that inherits from BindingList and I'm trying to enable the FindCore method. The code is below:
public class AccountList : BindingList
{
protected override bool SupportsSearchingCore
{
get
{
return true;
}
}
protected override int FindCore(PropertyDescriptor prop, object key)
{
for (int i = 0; i <span class="code-keyword">