Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Process.Start("http://example.com"); // <-- put your url there.
- void OpenBrowser(string url)
- {
- try
- {
- Mouse.OverrideCursor = Cursors.AppStarting;
- Process.Start(url);
- }
- catch (Exception)
- { //swallow: exception is sometimes thrown even though
- } // the call completed without error
- finally
- {
- Mouse.OverrideCursor = null;
- }
- }
Add Comment
Please, Sign In to add comment