Need a basic, simple Base Form or Control for CSLA objectsNeed a basic, simple Base Form or Control for CSLA objects
Old forum URL: forums.lhotka.net/forums/t/2346.aspx
Rayk posted on Thursday, February 15, 2007
Does anybody have or can point me toward a 'base' form or control that can hold a CSLA object using data binding? The base form/control would have generic code for Save/Cancel/New/Delete using a standarding bindingsource. It would also potentially enable/disable Save/Cancel/New/Delete based on whether the object isDirty (or i could do it the way I know how, which is adding a bunch of isChanged events to the controls.).
I just don't want to write something if it already exists out there and I just can't find it.
I have basically a ProjectTracker type application, but with about 15 different forms.
Thanks,
-Ray
BTW - I've looked into Smart Client MVP models, and that seems a little complex for what I need to do.
Rayk replied on Monday, February 19, 2007
We've designed our own base control with a bindingSource that can handle a CSLA object. We'll just subclass from this control for our standard screens.
Thanks,
-Ray
JoeFallon1 replied on Monday, February 19, 2007
Could you post some sample code so we can see how it is done?
Thanks.
stegerwald replied on Tuesday, February 27, 2007
I also would appreciate some sample codeCopyright (c) Marimer LLC