如何在选项卡控件之间传递数据? [英] How to Passing Data Between tab controls?

查看:48
本文介绍了如何在选项卡控件之间传递数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我已经用C#代码开发了Windows应用程序,我被添加了选项卡控件工具,在该选项卡控件中我添加了三个页面(三个选项卡),我想在另一个选项卡页面中浏览文本框的值.如何在选项卡控件之间传递数据?


例如:第一个标签页的名称是第1页,第二个标签页的名称是第2页

在文本框中输入了我的值.单击下一步"按钮时,该文本框值应导航到另一个选项卡.



谢谢和问候,
Murali

Hi all,

I have developed windows application with c# code, I was added tab control tool, in that tab control i was added three pages (3 tabs), i want to navigate the text box value in another tab page. How to Passing Data Between tab controls?


Ex: 1st tab name is Page1 and Second Tab name is Page 2

I was entered value in text box. That text box value should be navigate to another tab while clicking the "next" button.



Thanks and Regards,
Murali

推荐答案

制表符是用于对表单上的控件进行分组和组织的合适工具.他们可以帮助整理繁忙的表格.

您不必执行任何特殊操作即可在不同选项卡上的控件之间传递数据,因为它们都采用相同的形式.

请参阅 [
Tabs are a suitable tool for grouping and organizing controls on a form. They can help de-clutter a busy form.

You don''t have to do anything special to pass data between controls on different tabs, as they''re all on the same form.

Refer this[^].


-Amit


这篇关于如何在选项卡控件之间传递数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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