FrmReqRollMonth.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9. using CoreFS.CA06;
  10. namespace Core.StlMes.Client.Plan.Order
  11. {
  12. public partial class FrmReqRollMonth : FrmBase
  13. {
  14. public FrmReqRollMonth()
  15. {
  16. InitializeComponent();
  17. }
  18. private void FrmReqRollMonth_Load(object sender, EventArgs e)
  19. {
  20. string url = "http://172.16.2.130:8085/WebReport/ReportServer?reportlet=RepPlnproduceSort.cpt&op=view";
  21. //string url = "http://localhost:8075/WebReport/ReportServer?reportlet=RepPlnproduceSort.cpt&op=view";
  22. this.webBrowser1.Url = new Uri(url);
  23. this.webBrowser1.ScriptErrorsSuppressed = true;//屏蔽脚本错误
  24. url = "http://172.16.2.130:8085/WebReport/ReportServer?reportlet=ReqPlnPrdcls.cpt&op=view";
  25. //url = "http://localhost:8075/WebReport/ReportServer?reportlet=ReqPlnPrdcls.cpt&op=view";
  26. this.webBrowser2.Url = new Uri(url);
  27. this.webBrowser2.ScriptErrorsSuppressed = true;//屏蔽脚本错误
  28. url = "http://172.16.2.130:8085/WebReport/ReportServer?reportlet=ReqPlnOutbilletfl.cpt&op=view";
  29. //url = "http://localhost:8075/WebReport/ReportServer?reportlet=ReqPlnOutbilletfl.cpt&op=view";
  30. this.webBrowser3.Url = new Uri(url);
  31. this.webBrowser3.ScriptErrorsSuppressed = true;//屏蔽脚本错误
  32. }
  33. /// <summary>
  34. /// 重写基类toolBar方法
  35. /// </summary>
  36. /// <param name="sender"></param>
  37. /// <param name="ToolbarKey"></param>
  38. public override void ToolBar_Click(object sender, string ToolbarKey)
  39. {
  40. switch (ToolbarKey)
  41. {
  42. case "Close":
  43. this.Close();
  44. break;
  45. }
  46. }
  47. }
  48. }