All-In-One Windows Forms Code Samples

Introduction

The All-In-One Windows Forms code samples demonstrate the typical programming topics about Windows Forms. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration felt by developers when they are developing Windows Forms projects.

 

Visual Studio 2008 Code Samples

Sample Description Download ReadMe
CSWinFormBindingNestedProperties WinForms binding nested properties (C#) Download ReadMe.txt
CSWinFormControls WinForm Control Customization in C# Download ReadMe.txt
CSWinFormDataBinding WinForm Data-binding in C# Download ReadMe.txt
CSWinFormDataGridView DataGridView in WinForm (C#) Download ReadMe.txt
CSWinFormDesigner WinForm Designers in C# Download ReadMe.txt
CSWinFormDesignerCodeDom Use CodeDom to generate code for WinForms Designer (C#) Download ReadMe.txt
CSWinFormDragAndDrop Drag and Drop operations in WinForm (C#) Download ReadMe.txt
CSWinFormGraphics Use GDI+ to do Graphics in WinForm (C#) Download ReadMe.txt
CSWinFormGroupRadioButtons Group RadioButtons in different containers (C#) Download ReadMe.txt
CSWinFormLayeredWindow Layered windows in WinForms (C#) Download ReadMe.txt
CSWinFormLocalization Localize WinForms application (C#) Download ReadMe.txt
CSWinFormObjPersistence Object Persistence in WinForm Download ReadMe.txt
CSWinFormPrinting Printing in WinForm (C#) Download ReadMe.txt
CSWinFormSingleInstanceApp WinForm Singleton application (C#) Download ReadMe.txt
CSWinFormSplashScreen WinForm Splash Screen Download ReadMe.txt
CSWinFormTimeConsumingOpr Time-consuming Operations in WinForm Download ReadMe.txt
CSWinFormTreeViewLoad Load TreeView nodes from a DataTable (C#) Download ReadMe.txt
CSWinFormTreeViewTraversal WinForms Treeview Traversal (C#) Download ReadMe.txt
VBWinFormBindingNestedProperties WinForms binding nested properties (VB) Download ReadMe.txt
VBWinFormControls WinForm Control Customization in VB Download ReadMe.txt
VBWinFormDataBinding WinForm Data-binding in VB Download ReadMe.txt
VBWinFormDataGridView DataGridView in WinForm (VB) Download ReadMe.txt
VBWinFormDesigner WinForm Designers in C# Download ReadMe.txt
VBWinFormDesignerCodeDom Use CodeDom to generate code for WinForms Designer (VB) Download ReadMe.txt
VBWinFormDragAndDrop Drag and Drop operations in WinForm (VB) Download ReadMe.txt
VBWinFormGraphics Use GDI+ to do Graphics in WinForm (VB) Download ReadMe.txt
VBWinFormGroupRadioButtons Group RadioButtons in different containers (VB) Download ReadMe.txt
VBWinFormLocalization Localize WinForms application (VB) Download ReadMe.txt
VBWinFormPassValueBetweenForms Pass values between two windows forms (VB) Download ReadMe.txt
VBWinFormPrinting Printing in WinForm (VB) Download ReadMe.txt
VBWinFormTreeViewLoad Load TreeView nodes from a DataTable (VB) Download ReadMe.txt
VBWinFormTreeViewTraversal WinForms Treeview Traversal (VB) Download ReadMe.txt

 

Visual Studio 2010 Code Samples

Sample Description Download ReadMe
CSRichTextBoxSyntaxHighlighting XML syntax highlighting in RichTextBox (C#) Download ReadMe.txt
VBRichTextBoxSyntaxHighlighting XML syntax highlighting in RichTextBox (VB) Download ReadMe.txt

 

 

Download all code samples: http://1code.codeplex.com/releases

 

Submit your request of Windows Forms code samples (Guidance)

 

Last edited Jan 23, 2011 at 11:27 AM by Jialiang, version 6

Comments

No comments yet.