【问题标题】:Radio menu check收音机菜单检查
【发布时间】:2010-12-20 22:48:30
【问题描述】:

使用 Winform,是否可以“无线电检查”菜单项?

【问题讨论】:

    标签: c# winforms checkbox radio-group


    【解决方案1】:

    是的,请参阅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;
    }
    

    【讨论】:

    猜你喜欢
    • 2016-05-29
    • 2015-08-26
    • 2014-12-06
    • 2017-11-20
    • 1970-01-01
    • 1970-01-01
    • 2018-10-10
    • 2012-06-14
    • 2014-04-15
    相关资源
    最近更新 更多