Technological Guide.

Color Selector

Wednesday, June 24th, 2009
Color Selector is a small application developed in Visual C# which displays all named color along with a small strip of the color. Upon selecting the color the below panel will be updated with the selected color. As shown in the 2 images.

The DrawItem event of the combo box control has to be implemented in the code and DrawMode property for the combo box control must be set to OwnerDrawFixed in design time in order to let the DrawItem event work.

Design & Coding Application:

Create a Visual C# Windows Forms project in either Visual Studio 2005 / 2008 with Single Form which contains a button (btnLoadColorList), combo box(cmbColorList) and panel (pnlColorTester). Set the DrawMode property of cmbColorList to OwnerDrawFixed and DropDown height property of cmbColorList to 80.

Code for the Form will be as follows.

You can download the sample application developed in Visual Studio 2008 from here.

The Open Source Development Environment for .Net

Monday, June 22nd, 2009

“#Develop” (SharpDevelop) is a free open source IDE for C#, Vb.Net and Boo projects on Microsoft .Net platform. “#Develop” offers many features, few are listed below

Features of SharDevelop
SharpReport ported (including SharpQuery)
Code Coverage support based on NCover
PInvoke addin reported
Support for Web references
Right-to-left support

SharpDevelop is available for all versions of Microsoft .Net framework from below link.

http://www.icsharpcode.net/OpenSource/SD/Download/

C++ Analog Clock

Sunday, May 31st, 2009

Analalog Clock application developed in C++ with source code. You can download the analog clock application with source code.

Download from the following link

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=10681&lngWId=3