Full sample library with winforms UI

Full sample library with winforms UI

Old forum URL: forums.lhotka.net/forums/t/10518.aspx

hramos360 posted on Tuesday, July 12, 2011

Is there a full winforms UI sample that contains all the CSLA stereotypes or at least a library sample which

contains the stereotypes?  If not, then i'm looking for a fully implemented (all CRUD) sample of a parent business base with editable children.  The samples rocky has are kind of all over the place and it makes it difficult to follow the e-books.



Randar replied on Tuesday, July 12, 2011

I'm struggling with lack of samples for WinForm as well.  Unfortunately, the Project Tracker does not work right now.  See this post for details http://forums.lhotka.net/forums/p/10476/49042.aspx#49042.

RockfordLhotka replied on Tuesday, July 12, 2011

If you have the ebook series, follow the samples from the Data Access ebook. Those samples show every stereotype.

The only thing you need to do differently for Windows Forms is to have the collections subclass the "BindingList" base classes - like BusinessBindingListBase instead of BusinessListBase.

That should get you all the business class code you need for any type of app.

For Windows Forms UI example code, look at the 3.7 ProjectTracker sample. That should have a working Windows Forms UI. The exact same UI techniques used in that code (and described in the Using CSLA .NET 3.0 ebook) still apply today. Windows Forms hasn't changed in any meaningful way since 2005.

Copyright (c) Marimer LLC