//引用using System.Diagnostics;
private void ExecUrl(string url)
{
ProcessStartInfo startInfo = new ProcessStartInfo("IExplore.exe");
startInfo.WindowStyle = ProcessWindowStyle.Hidden;//设置IE隐藏或最大化,最小化
startInfo.Arguments = url;
Process.Start(startInfo);
}
private void ExecUrl(string url)
{
ProcessStartInfo startInfo = new ProcessStartInfo("IExplore.exe");
startInfo.WindowStyle = ProcessWindowStyle.Hidden;//设置IE隐藏或最大化,最小化
startInfo.Arguments = url;
Process.Start(startInfo);
}