文本框转换器动态表单 [英] text box changer dynamic form

查看:64
本文介绍了文本框转换器动态表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

具有一个表单,该表单根据在不同表单上输入的数字动态创建两个文本框的行.想知道如果我在行中的第一个文本框中输入特定数字(例如123456),它将如何将同一行中的相应文本框更改为组合框,而不会更改任何其他文本框.如果更改了数字,则组合框又变回文本框.

Have a form that dynamically creates rows of two text boxes based on a number inputted on a different form. Would like to know how if I enter in a certain number say, 123456, into the first text box in a row it would change the corresponding text box in the same row to a combo box but not change any of the other text boxes. And if the number is changed, the combo box is changed back to a text box.

推荐答案

执行此操作的方法之一是必须创建自己的UserControl .
One of the way to do this is you have to create your own UserControl.


这篇关于文本框转换器动态表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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