Проверка меню радио - PullRequest
1 голос
/ 27 ноября 2009

Используя Winform, можно ли "проверить радио" пункт меню?

1 Ответ

2 голосов
/ 27 ноября 2009

Да, см. MSDN

// This method is called from the constructor of the form to set up the menu items.
public void ConfigureMyMenus()
{
   /* Set all of these menu items to Radio-Button check marks so the user can see 
      that only one color can be selected at a time. */
   menuItemRed.RadioCheck = true;
   menuItemBlue.RadioCheck = true;
   menuItemGreen.RadioCheck = true;
}
...