将Windows窗体文本框传递给网站texbox [英] Pass Windows Form Textbox to website texbox

查看:91
本文介绍了将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.

推荐答案

要传递文本ti google搜索文本框使用此代码



To pass the text ti google Search text box use this code

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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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