对IE的处理代码。
public static void OpenURL(string url)
{
Process.Start("IExplore.exe", url);
}
public static void CloseIE()
{
foreach(Process process in Process.GetProcesses())
{
if (process.ProcessName.Equals("IExplore.exe"))
{
process.Kill();
}
}
}