Open main menu

CDOT Wiki β

Changes

4.b. Add Image to the Menu
* Creates a new MenuDemoMenuItem object
*/
ImageMenuItem(String title, int ordinal, int property, int numitemNum)
{
super(new StringProvider(title), ordinal, property);
// Create Image object from project resource
Bitmap bitmap;
switch(numitemNum)
{
case 0:
1
edit