Tag Info

New answers tagged


First off, don't use Panels to group related tasks. Use UserControls. I used panels to group controls on my first WinForms application, and it turned into a horrible monstrosity, worthy of appearing on TDWTF. Just...don't do it. Instead, use UserControls. These are kind of like Windows, but are hosted inside of a container, similar to a Button or ...


What you are looking for is the concept of a ViewModel. This is an object that contains only data that the view is interested in, and is very often not a 1 to 1 mapping with a business or domain model. It may be a cut down version of a business model, it may be an amalgamation of multiple different business models. If your view needs a count, this can ...

Top 50 recent answers are included