| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- 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;
- using Core.Mes.Client.Comm;
- namespace Pur.order
- {
- /// <summary>
- /// 合同预览界面
- /// </summary>
- public partial class FrmPurOrderReview : FrmBase
- {
- /// <summary>
- /// 报表地址
- /// </summary>
- private string strUrl = "";//报表地址
- private string tips = "0";
- public string Tips
- {
- get { return tips; }
- set { tips = value; }
- }
- public FrmPurOrderReview(OpeBase op, string url)
- {
- InitializeComponent();
- strUrl = url;
- }
- private void FrmRepExcel_Load(object sender, EventArgs e)
- {
- this.webBrowser1.Url = new Uri(strUrl);
- this.webBrowser1.ScriptErrorsSuppressed = true;//屏蔽脚本错误
- }
- private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
- {
- switch (e.Tool.Key)
- {
- case "doCreate": //确定
- tips = "1";
- this.Close();
- break;
- case "doCancel": //取消
- tips = "0";
- this.Close();
- break;
- }
- }
- }
- }
|