Winforms导航选项 [英] Winforms navigation options

查看:101
本文介绍了Winforms导航选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,



早上好.. !!



我正在开发一个窗户形成业务应用程序。



我知道传统的菜单栏作为此应用程序的导航选项。我想知道人们是否以任何其他方式开发此窗体导航。我不愿意使用传统的菜单栏。



请在窗体表格中为我提供不同的导航选项。



谢谢。



问候,

Nayan

Dear all,

Good morning..!!

I am currently developing a windows forms business application.

I am aware about the traditional Menu Bar as navigation option for this application. I want to know if people develop this windows forms navigation in any other way. I am reluctant to use the traditional Menu Bar.

Please provide me with different options on navigation in windows forms.

Thanks.

Regards,
Nayan

推荐答案

导航一词的范围有限,很多比Forms类的应用程序更窄。也就是说,整个导航理念并不总是适用于应用程序设计。一个例子(甚至更多限制):一个向导。菜单更加通用,但可能有很多其他选项。其中之一: ListBox TreeView 的实例:当你从注释到节点时(列表项到列表项) ),窗口的右侧部分显示不同的内容。这是一个非常优雅的选择。它可以在两个或更多个阶段中使用:右侧的内容也可以具有显示最右侧内容的另一个导航元素。您不需要任何特殊组件来实现它,您可以立即亲自动手。



您可以使用许多其他设计。一个典型的例子,根本不优雅,实际上非常难看,但在初学者中很受欢迎:一组按钮,点击这样的按钮打开这个或那个。 (当然不要这样做。这只是一个例子。)



一个非常简单但也有限的案例,因为简化应用程序的数量很多 TabControl



看看Visual Studio。这是主菜单和上下文菜单与Solution Explorer和 PropertyGrid 等树的组合。你也可以实现这样的设计。



-SA
The term "navigation" has limited scope, much narrower than the class of Forms application. That is, the whole idea of navigation is not always applicable to application designs. One example (even more limiting): a wizard. Menu is much more universal, but there can be a big number of other options. One of them: an instance of ListBox or TreeView: when you go from note to node (list item to list item), right part of window show different content. This is a pretty elegant option. It could be used in two or more stages: a content on right can also have another navigation element showing content of far right. You don''t need any special components to implement it, you can do it all with your own hands right away.

You could use many other designs. One typical example, not elegant at all, actually very ugly but popular in beginners: a set of buttons, a click on such button opens this or that. (Don''t do it, of course. This was just for an example.)

One really trivial and also limited case convenient for as number of simper application is TabControl.

And look at Visual Studio. This is a combination of main and context menus with trees like Solution Explorer and PropertyGrid. You can implement such design, too.

—SA


这篇关于Winforms导航选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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