Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的表单中有一个 TextEdit 来编写一些网站地址,当我单击一个按钮以打开该网站(在 TextEdit 中编写)进入网络导航器时,我想要。
我怎样才能做到这一点 ?
只需将 URL 从TextEditto传递给Process.Start:
TextEdit
Process.Start
Process.Start("http://www.google.com");
它将在默认浏览器中打开。