public static void Main(string[] args){
SearchGoogle("Test");
Console.ReadKey(true);
}
static void SearchGoogle(string t){
Process.Start("http://google.com/search?q=" + t);
}
有什么办法可以隐藏浏览器,让它不弹出??
最佳答案
类似于:
ProcessStartInfo startInfo = new ProcessStartInfo("http://google.com/search?q=" + t);
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
Process.Start(startInfo);
关于C#,Process.Start隐藏?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2317767/