 ---------------------------------------------------
|                                                   |
| Rating Stars Unlimited                            |
|                                                   |
| iGrid.NET Extra Samples                           |
| Copyright (c) 10Tec Company                       |
| All rights reserved                               |
|                                                   |
| Available editions:                               |
| iGrid.NET 2.0, VS2005 C#/VB.NET                   |
|                                                   |
 ---------------------------------------------------

Description:
============
Demonstrates how to display the unlimited number of rating stars or other images in the iGrid.NET cells.

Short Code Explanation:
=======================
iGrid.NET provides you with custom draw functionality which allows you to display any content in a cell. In this example we used it to show rating stars.

The form in this sample has two columns, and the values in the cells in the same row are equal, but the second column displays integer values as the corresponding number of rating stars. To do that, we simply redefined the CustomDrawCellForeground event for the cells in the 2nd column to draw the star image the required number of times; the star image itself is stored in the invisible picture box on the same form.

