Welcome to WindowsClient.net | My Blog | Sign in | Join

Windows Client Videos

November 2008 - Posts

How Do I: Use NullableTypes in Windows Forms
Pat Tormey shows how to "Nullable Types" in a Windows Forms application. Nullable Types are values that can be Null, as in a Date type that has not been assigned. Nullable Types come in handy with dealing with databases that contain nulls and are useful when doing calculations on items that may be Null.

Author: Pat Tormey

How Do I: Use Encryption in Windows Forms

Pat Tormey show how to use Encryption tools* that wrap the Data Protection API (DPAPI). DPAPI uses either a Machine Level or User Lever internal key freeing the developer from having to manage the keys. Of course the trade off is that the encrypted data is not portable and might not be a good choice for a database application, but that makes it ideal for a Windows Forms project.

*Don’t forget to reference System.Security.

Author: Pat Tormey

How Do I: Create a Simple WPF DataGrid to Edit Tabular Data

Beth Massi shows how to create a simple data grid in WPF for editing tabular data using Visual Studio 2008.

Author: Beth Massi

Posted: Nov 19 2008, 01:59 PM by jytylr | with 6 comment(s)
Filed under:
How Do I: Create a Master-Detail Data Entry Form in WPF
Beth Massi shows how to create a Master-Detail (or One-to-Many) data entry form in WPF using Visual Studio 2008.

Author: Beth Massi

How Do I: Create Bindable Objects

In this video Pat Tormey shows how to modify your own classes into data sources that can be bound to editable controls.

In a couple of quick steps Pat shows how to use a BindingList Generic combined with implementing INotifyPropertyChanged Interface allowing you to create a class smart enough to notify a data grid that it’s calculated properties have changed. He also includes a quick review of Nullable Types to explain how best to deal with Null dates.

Author: Pat Tormey

Singleton Design Pattern

Pat Tormey shows how to use the Singleton Pattern in a Windows Forms application. Patterns are reusable concepts across all programming languages. The Singleton design pattern is used to restrict instantiation of a class to one object. For this example Pat uses a Singleton to "remember" important information about the current customer.

Author: Pat Tormey