C#, Process.Start hide?
问题 public static void Main(string[] args){ SearchGoogle("Test"); Console.ReadKey(true); } static void SearchGoogle(string t){ Process.Start("http://google.com/search?q=" + t); } Is there any way to hide the browser, so it won't pop up?? 回答1: Something like: ProcessStartInfo startInfo = new ProcessStartInfo("http://google.com/search?q=" + t); startInfo.WindowStyle = ProcessWindowStyle.Hidden; Process.Start(startInfo); 回答2: Perhaps you are looking for ProcessStartInfo.CreateNoWindow ? 回答3: If you