I am writing a C# NotifyIcon Application with SharpDevelop.
I have three menu items listed, and I would like to add a check box or radio button next to one item to indicate that this item is active.
I have tried the code below but there it does not display the RadioCheck:
private MenuItem[] InitializeMenu()
{
MenuItem One = new MenuItem("One");
One.RadioCheck = true;
MenuItem Two = new MenuItem("Two");
Two.RadioCheck = false;
MenuItem Three = new MenuItem("Three");
Three.RadioCheck = false;
MenuItem[] menu = new MenuItem[] {
new MenuItem("About", menuAboutClick),
One,
Two,
Three,
new MenuItem("Exit", menuExitClick)
};
return menu;
}