On the internet often see someone asked Windows Mobile under the nine Sudoku control practices, I have also many times on the internet search, but found most of the C + + version, so germination of their own to write a thought, first on the picture.
When selected.
The effect of the selection is actually the alternating results of two pictures, because only for the 240x320 this style, so it may be written in many places, the following to some of the source of the analysis.
First, define a class that inherits from Control Flexstartmenu
PublicclassFlexStartMenu:System.Windows.Forms.Control
Define an option subclass because the picture in this control contains text, so I don't draw the text of the subkey into the control, and if you have a need you can modify the Onpain event and add a way to draw text.
Child class
public class Flexstartitem
{
/**////<summary>
Display text
</summary>
public string Itemtext
{
Get
Set
}
/**////<summary>
Options picture
</summary>
Public Image Icon
{
Get
Set
}
/**////<summary>
Picture When selected
</summary>
Public Image Pressicon
{
Get
Set
}
/**////<summary>
Distance from top of option
</summary>
public int Top
{
Get
Set
}
/**////<summary>
Option distance from the left column
</summary>
public int Left
{
Get
Set
}
/**////<summary>
Option number
</summary>
public int Index
{
Get
Set
}
/**////<summary>
is selected
</summary>
public BOOL Press
{
Get
Set
}
}