How do I display adjacent text
Check out this article by David C. Brown of the Windows Forms team at windowsforms.net. It discusses several reasons why you GDI+ output may lok differently that GDI output. One of the topics discussed is how to draw adjacent text.
How can I read and write zip files in my Windows Forms program.
Check out ’The Zip/GZip Implementation For .NET’ available here. This library is released under a special GPL. Check out the above page for details.
CVS integration using C#
NetCvsLib is a CVS client library written entirely in C# for the .NET platform. Check it out NetCvsLib.
How can I use XP Themes with Windows Forms using the .NET FrameWork 1.1?
The .manifest file is not required if you are using .NET FrameWork 1.1. You can now use the application’s EnableVisualStyles() method which should called before creating any controls. You also need to ensure that the FlatStyle property of the control is changed to System instead of the default value of Standard. [C#] static void Main() { Application.EnableVisualStyles(); Application.Run(new Form1()); } [VB.Net] Public Shared Sub Main() System.Windows.Forms.Application.EnableVisualStyles() System.Windows.Forms.Application.Run(New Form1) End Sub
How do I check/uncheck all items in my checkedlist
To check all items, you can use code such as: C# for( int i=0 ; i < myCheckedListBox.Items.Count; i++ ) { myCheckedListBox.SetItemChecked(myCheckedListBox.Items[i], true); } VB.NET For i As Integer = 0 To myCheckedListBox.Items.Count – 1 myCheckedListBox.SetItemChecked(myCheckedListBox.Items(i), True) Next