<configSections>
<section name="MenuConfiguration" type="WindowsApplication4.NewMenuSetion,WindowsApplication4,PublicKeyToken=null" />
</configSections>
<MenuConfiguration>
<Menu>
<MenuPopup Caption="弹出菜单" />
<MenuPopup Caption="弹出菜单2" />
<MenuButton Caption="普通菜单" />
<MenuButton Caption="普通菜单2" />
</Menu>
</MenuConfiguration> 请问下这中情况能实现么 MenuPopup MenuButton 都要求是能重复的!!
怎么实现 给点提示 邮箱[email protected]
<section name="MenuConfiguration" type="WindowsApplication4.NewMenuSetion,WindowsApplication4,PublicKeyToken=null" />
</configSections>
<MenuConfiguration>
<Menu>
<MenuPopup Caption="弹出菜单" />
<MenuPopup Caption="弹出菜单2" />
<MenuButton Caption="普通菜单" />
<MenuButton Caption="普通菜单2" />
</Menu>
</MenuConfiguration> 请问下这中情况能实现么 MenuPopup MenuButton 都要求是能重复的!!
怎么实现 给点提示 邮箱[email protected]
解决方案 »
- 水晶报表
- WCF 强类型数据集 fill 表返回问题 高分100
- 响应函数的参数:object sender,EventArgs e,分别是什么意思呀?
- 自定义控件使用时出错
- 在C# winform中子父右控件右键键菜单问题?
- 怎么总提示无法类型“System.Delegate”隐式转换为“ntMenu.nsMenu.ntMenu.OnClickEventHandler”
- 安装作好了,自己装没问题,别人装出错如下
- c#中怎样使用SetCommTimeOuts()
- .net上如何运行sql的max()等函数
- 【【又来狂甩分了】】大家教教我WinForm下的ReportViewer到底是怎么用的啊【200分,帮顶有喜哈】
- 删除文件问题
- 在线等~~~正则表达试~那里错啦~~
楼主可以这样,加个关键字 如下<Menu>
<MenuPopup id="1" Caption="弹出菜单" />
<MenuPopup id="2" Caption="弹出菜单2" />
<MenuButton id="1" Caption="普通菜单" />
<MenuButton id="2" Caption="普通菜单2" />
</Menu>
public MenuPopupElementCollection MenuPopup
{
get
{
return (MenuPopupElementCollection)base[""];
}
}这样只能做MenuPopup的 我想知道MenuButton怎么做! 如果再写成
[ConfigurationProperty("", IsDefaultCollection = true)]
public MenuButtonElementCollection MenuButton
{
get
{
return (MenuButtonElementCollection)base[""];
} }就会错! 请高手指点!!!