frmOperationManual.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. namespace Core.StlMes.Client.LgIntegrationQuery
  10. {
  11. public partial class frmOperationManual : Core.StlMes.Client.LgCommon.frmStyleBase
  12. {
  13. public string path = "";
  14. public frmOperationManual()
  15. {
  16. InitializeComponent();
  17. }
  18. private void frmOperationManual_Load(object sender, EventArgs e)
  19. {
  20. path = this.CustomInfo;
  21. init();
  22. }
  23. private void init()
  24. {
  25. string url = "http://172.16.100.17:8088/OperationManual/" + path + "/default.html";
  26. // string url = "http://172.16.100.17:8088/OperationManual/default.html";
  27. if (url == "") return;
  28. try
  29. {
  30. Cursor.Current = Cursors.WaitCursor;
  31. this.webBrowser1.Url = new Uri(url);
  32. //webBrowser1.Navigate(url);
  33. }
  34. finally
  35. {
  36. Cursor.Current = Cursors.Default;
  37. }
  38. }
  39. }
  40. }