如何将文本框添加到消息框中? [英] How to add a textbox into a messagebox?

查看:70
本文介绍了如何将文本框添加到消息框中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我想显示一个包含文本框的消息框。请问有人帮帮我吗?我一直在寻找

Hello guys,

I want to show a messagebox containing a textbox. Can anybody help me, please? I was looking for

InputBox

但我不知道要使用哪个库。





感谢您的帮助。





来自
的问候
Epanjohura

but I don't know what library to use.


Thank you for every help.


Greetings from
Epanjohura

推荐答案

您可以在c#中使用vb中的输入框,如下所示:



1.将Microsoft.VisualBasic Refference添加到您的解决方案。

2.使用Microsoft.VisualBasic

3. Microsoft.VisualBasic.Interaction.Inputbox(消息)



那应该这样做
You can use the inputbox from vb in c# as follows:

1. Add Microsoft.VisualBasic Refference to your solution.
2. using Microsoft.VisualBasic
3. Microsoft.VisualBasic.Interaction.Inputbox(message)

And that should do it


Bellow链接可以帮助你



C#中的输入框 [ ^ ]

http://social.msdn.microsoft.com/Forums/en-US/ab9debc2-b 355-445b-a9cb-29135f973836 / c-inputbox [ ^ ]

http://www.csharp-examples.net/inputbox/ [ ^ ]

http://stackoverflow.com/questions / 10797774 / messagebox-with-input-field [ ^ ]



~Amol
Bellow links may help you

InputBox in C#[^]
http://social.msdn.microsoft.com/Forums/en-US/ab9debc2-b355-445b-a9cb-29135f973836/c-inputbox[^]
http://www.csharp-examples.net/inputbox/[^]
http://stackoverflow.com/questions/10797774/messagebox-with-input-field[^]

~Amol


这篇关于如何将文本框添加到消息框中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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