简体   繁体   中英

How to open a webpage within a gtk# desktop application?

我需要在 C# 应用程序中打开我在 php 中创建的网页。

This is a very basic example using C# , I hope this can help you.

If you want to open a link in your default browser, you can add this simple code:

Process.Start("http://YourURL");

If you want to open your link in another browser, you can use this code:

System.Diagnostics.Process.Start("firefox.exe", "http://YourURL");

And you can visit these posts:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM