WPF打开一个IE窗口(例如打开:www.163.com),并且打开后窗口最大化。

解决方案 »

  1.   

    http://www.cnblogs.com/oliverxgwang/articles/1954907.html 
    这个可以参考
      

  2.   

    SHDocVw.InternetExplorerClass ie = new SHDocVw.InternetExplorerClass();  Object vHeaders = null;
      Object vPost = null;
      Object vTarget = null;
      Object vFlags = null;
      ie.Navigate("http://10.184.193.199/masterview/mv.jsp?server_name=gcris01FIR&user_name=bruce&password=Admin123&accession_number=001&close_on_exit=false&start_monitor=0&num_of_monitors=1", ref vFlags, ref vTarget, ref vPost, ref vHeaders);
      

  3.   

     Process process = new Process();
                process.StartInfo.FileName = "iexplore.exe";
                process.StartInfo.Verb = "open";
                process.StartInfo.WindowStyle = ProcessWindowStyle.Maximized;
                process.StartInfo.Arguments = @"www.163.com";
                process.Start();ProcessWindowStyle.Maximized 不起作用