System.Runtime.InteropServices
[DllImport("shell32.dll", EntryPoint = "ShellExecute", CharSet = CharSet.Auto)]
public static extern int ShellExecute_Test(IntPtr hwnd, string lpOperation, string lpFile, string lpParameters, string lpDirectory, int nShowCmd);
/// <summary>
/// æå¼æµè§å¨
/// </summary>
public void OpenBrowser()
{
ShellExecute_Test(Form.ActiveForm.Handle, "Open", "www.baidu.com", "", "", 1);
}