如何创建仅通过按钮导航的用户控件 [英] How can I create a user control that navigates through buttons only

查看:58
本文介绍了如何创建仅通过按钮导航的用户控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

抱歉我的英文不好。

我是vb.net的新手。我正在创建一个用户控件。我的要求是创建一个具有多个页面的控件,这些页面仅通过按钮进行导航。应该在设计时间内为这些页面添加控件。



我尝试过:



我创建了一个继承制表符控件。我只需要通过左右两侧的按钮浏览选项卡。我创建了一个用户控件并编译为dll。我在新项目中添加了来自dll的控件。问题是我无法在设计时向该选项卡添加任何控件。我需要在设计期间向选项卡添加控件。

还有什么方法可以禁用选项卡控件的选项卡导航。用户应该只通过按钮点击导航。



或者是否有任何关于如何创建这样的控件的建议



在此先感谢。

Sorry for my bad english.
I am a newbie in vb.net. I am creating a user control. My requirement is to make a control that has multiple pages that navigate through buttons only. Should add controls to that pages in design time.

What I have tried:

I created one inheriting tab control. I need to navigate through tabs only with buttons on left and right. I created a user control and compiled as dll. I added that control from dll in new project. The problem is I cannot add any controls to that tab during design time. I need to add controls to the tab during design time.
Also is there any way to disable the tab navigation of tab control. User should navigate through button click only.

Or is there any suggestion of how I can create a control like that

Thanks in advance.

推荐答案

听起来你在谈论一个精灵控制。请参阅 vb.net向导控件 - Google搜索 [ ^ ]。
It sounds like you are talking about a Wizard Control. See vb.net wizard control - Google Search[^].


这篇关于如何创建仅通过按钮导航的用户控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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