Open a URL from Windows Forms

前端 未结 6 1045
小蘑菇
小蘑菇 2020-11-27 06:35

I\'m trying to provide a link to my company\'s website from a Windows Form. I want to be well behaved and launch using the user\'s preferred browser.

What is the be

6条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-27 06:57

    The above approach is perfect, I would like to recommend this approach to where you can pass your parameters.

    Process mypr;
    mypr = Process.Start("iexplore.exe", "pass the name of website");
    

提交回复
热议问题