P
Pete Davis
Okay, someone tell me I'm making a mistake here:
I need to create my own CurrencyManager class derived from
BindingManagerBase.
As far as I can tell this is impossible to do. The MSDN docs say,
erroneously:
---
Notes to Inheritors: When you inherit from BindingManagerBase, you must
override the following members: AddNew, Count, CancelCurrentEdit, Current,
EndCurrentEdit, GetItemProperties, OnCurrentChanged, Position, RemoveAt,
ResumeBinding, SuspendBinding, and UpdateIsBinding.
---
The problem is there are, I believe, 5 members of BindingManagerBase that
are marked as "internal abstract", despite the fact that the class itself is
marked a public abstract.
As far as I can tell, there's no way to override an internal abstract member
from a class in System.Windows.Forms.
Of course, if I don't override the methods, I get a "myclassname does not
implement inherited abstract member 'membername'"
But if I try to override them, I get: "no suitable method found to override"
WTH? I mean, the documentation makes it sound like you can derive from the
class, but at this point, all evidence is to the contrary.
Any ideas?
Pete
I need to create my own CurrencyManager class derived from
BindingManagerBase.
As far as I can tell this is impossible to do. The MSDN docs say,
erroneously:
---
Notes to Inheritors: When you inherit from BindingManagerBase, you must
override the following members: AddNew, Count, CancelCurrentEdit, Current,
EndCurrentEdit, GetItemProperties, OnCurrentChanged, Position, RemoveAt,
ResumeBinding, SuspendBinding, and UpdateIsBinding.
---
The problem is there are, I believe, 5 members of BindingManagerBase that
are marked as "internal abstract", despite the fact that the class itself is
marked a public abstract.
As far as I can tell, there's no way to override an internal abstract member
from a class in System.Windows.Forms.
Of course, if I don't override the methods, I get a "myclassname does not
implement inherited abstract member 'membername'"
But if I try to override them, I get: "no suitable method found to override"
WTH? I mean, the documentation makes it sound like you can derive from the
class, but at this point, all evidence is to the contrary.
Any ideas?
Pete