通过窗口表单按钮打开Web表单 [英] open a web form by window form Button
本文介绍了通过窗口表单按钮打开Web表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何打开Web表单并将其设置为文本并隐藏在语言环境服务器上
当我们单击窗口表单按钮时
以及此Web表单文本和按钮单击事件的隐藏集
例如,任何操作系统窗口都有一个帮助按钮
hoW to open a web form and set it texts and hiding on locale server
when we click a window form button
and this web form text and hiding set from button click event
fore example any OS window has a help button
推荐答案
对于我从您的问题中可以理解的内容;
您有一个带有按钮的Windows窗体应用程序.
当您按下按钮时,要打开浏览器.
此浏览器必须显示从您的表单应用程序设置的文本.
如果我理解您的意见是正确的,那应该是解决方案:
在表单应用程序的按钮单击事件中,您可以在硬盘上创建一个html文件.然后使用以下命令打开浏览器:
For what I can understand from your question;
You have a windows forms application with a button on it.
When you press the button you want open a Browser.
This browser has to show a text that has been set from your forms application.
If I understand you correct this should be the solution:
In the button click event of the forms application you could create a html-file on your harddisk. Then you open up the browser with:
Process.Start("iexplore.exe", "file:///filename of the file you created");
这篇关于通过窗口表单按钮打开Web表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文