Ported version of Monte Variakojis' LED control.
Latest .NET / C# Articles - Page 318
An abstract factory provides an interface for creating families of related objects without specifying their concrete classes. Sometimes one wants to construct an instance of one of a suite of classes, deciding between the classes at the time of instantiation. In order to avoid duplicating the decision making everywhere an instance is created, we need a mechanism for creating instances of related classes without necessarily knowing which will be instantiated.
An expansion on Debugging tips provided by others.
The Builder pattern allows a client object to construct a complex object by specifying only its type and content. The client is shielded from the details of the objects construction. This article includes example implementations in C# and Visual Basic .NET.
Shows how you can run a worker thread which makes synchronous calls to the user interface (for example, thread reads a long recordset and fills some control in the form).
This application shows how the drag and drop features in C# could be used to create a simple board game or whatever.
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
The Transactional File System (TxF), which allows access to an NTFS file system to be conducted in a transacted manner through extensions to the Windows SDK API. MFC 10, has been extended to support TxF and related technologies. This support allows existing MFC applications to be easily extended to support kernel transactions.
It might be older technology, but P/Invoke is still useful today. Learn how to leverage it to your advantage.
Ringtones are a very popular way to customize your mobile phone. Learn to set ringtones in your Windows Store app.
Arun Karthick introduces you to the state machine model and shows you how to create a simple working state machine sample using the .NET framework in the C# language.