using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using CoreFS.CA06; namespace Core.StlMes.Client.Plan.Order { public partial class FrmReqRollMonth : FrmBase { public FrmReqRollMonth() { InitializeComponent(); } private void FrmReqRollMonth_Load(object sender, EventArgs e) { string url = "http://172.16.2.130:8085/WebReport/ReportServer?reportlet=RepPlnproduceSort.cpt&op=view"; //string url = "http://localhost:8075/WebReport/ReportServer?reportlet=RepPlnproduceSort.cpt&op=view"; this.webBrowser1.Url = new Uri(url); this.webBrowser1.ScriptErrorsSuppressed = true;//屏蔽脚本错误 url = "http://172.16.2.130:8085/WebReport/ReportServer?reportlet=ReqPlnPrdcls.cpt&op=view"; //url = "http://localhost:8075/WebReport/ReportServer?reportlet=ReqPlnPrdcls.cpt&op=view"; this.webBrowser2.Url = new Uri(url); this.webBrowser2.ScriptErrorsSuppressed = true;//屏蔽脚本错误 url = "http://172.16.2.130:8085/WebReport/ReportServer?reportlet=ReqPlnOutbilletfl.cpt&op=view"; //url = "http://localhost:8075/WebReport/ReportServer?reportlet=ReqPlnOutbilletfl.cpt&op=view"; this.webBrowser3.Url = new Uri(url); this.webBrowser3.ScriptErrorsSuppressed = true;//屏蔽脚本错误 } /// /// 重写基类toolBar方法 /// /// /// public override void ToolBar_Click(object sender, string ToolbarKey) { switch (ToolbarKey) { case "Close": this.Close(); break; } } } }