本文介绍了将Windows窗体文本框传递给网站texbox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将值从Windows窗体文本框传递到网站文本框。当我点击Windows窗体中的提交按钮时,它会自动打开网站并填写文本框中的值。
I want to pass value from windows form textbox to website textbox. When i click submit button in windows form it automatically open website and fill the values in textbox.
推荐答案
textbox1.Text = "CodeProject";
string SearchGoogle = "http://www.google.com/#hl=en&q="+ textbox1.Text.Trim() +"&aq=f&oq=&aqi=&fp=leBsIIJAIN0";
System.Diagnostics.Process.Start(SearchGoogle);
这篇关于将Windows窗体文本框传递给网站texbox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!