In this prior post, I demonstrated how to find a specific item in a generic list of items. But what if the item you want to find is in a child list? For example, a list of customers where each customer is a company that has a company name and a list of contact persons. […]
In this prior post, I demonstrated how to build a generic list of items. The example built a list of individual customers. This post demonstrates how to build a generic list of items where one of those items is another generic list. In this example, the customer is no longer a single person, but rather […]
As you are debugging your application, you may want to set a break point further down the call stack. One way to do this is to double-click on the row in the Call Stack to navigate to the code, and then insert a breakpoint. But there is an easier way. NOTE: For an introduction to […]
The complexities of today’s software are better managed used techniques such as layered architectures, object-oriented programming, separation of concerns, MVC, and MVVM to name a few. All of these techniques require that your application be separated into logical units, which means that to perform any task, your code needs to call other pieces of code. […]
When working with data, you often have values that are null. For example, you may allow entry of a user’s birthday, but not require entry. So some of your rows may contain a null date. Or your application may track a customer’s last order date, which will be null if you track potential customers that […]
A common question on the forums is how to use the Enter key instead of the Tab key to move through the controls on a Windows form. One common approach is to use SendKeys to send a Tab. But here is another option. NOTE: To use this technique, set the KeyPreview property of the form […]
In this prior post, I provided information on registering for the Silicon Valley Code Camp on October 9 and 10, 2010 and on the talks I am presenting at that code camp. If you would like the source code for my two talks, you can get it all from my company’s Web site. Enjoy!