如何在.NET中创建菜单 [英] How to create menus in .NET

查看:57
本文介绍了如何在.NET中创建菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,



我正在使用.NET [C#]开发一个项目。我使用jquery和css创建了一个菜单栏。这导致了几个问题。我想知道是否有另一种在.NET中创建菜单栏的方法..

我正在使用Microsoft .NET 2010.



谢谢



I'm currently developing a project using .NET [C#].I have created a Menu Bar using jquery and css.This is causing a few problems.I wanted to know if there is an alternate way to create a Menu Bar within .NET..
Im using Microsoft .NET 2010.

Thank you

推荐答案

你好,



如果我帮你了,你想要像大多数程序中使用的menuBars,他们说文件,你可以用更多的按钮折叠和展开它吗?



喜欢这个< a href =http://visualcsharptutorials.com/images/windows-forms/adding-menu-bar-04.jpg> MenuBar? [ ^ ]



如果就是这种情况,并且您使用Visual Studio进行编码,您可以将UIMenus和内容添加到ui设计器中的usercontrol中Visual Studio。还有提供clicky worky东西的menuBars,比如ToolStripContainer等等。



希望有帮助
Hi there,

if i got you right, you want something like the menuBars that are used in most of programs where they say "Files" and you can collapse and expand it with much more buttons in it?

Like this MenuBar ?[^]

If thats the case, and you are coding with Visual Studio you can add ContextMenus and stuff to a usercontrol in the ui designer of Visual Studio. There are also menuBars that provide clicky worky stuff, like ToolStripContainer and something like that.

Hope that helps


鉴于你提到jquery和CSS我猜你没有做WinForm所以你试过这个 walkthru在ASP.NET中创建菜单 [ ^ ]
Given that you mentioned jquery and CSS I guess you're not doing a WinForm so have you tried this walkthru creating menus in ASP.NET[^]


这篇关于如何在.NET中创建菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆