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
{
///
/// 合同预览界面
///
public partial class FrmPurOrderReview : FrmBase
{
///
/// 报表地址
///
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;
}
}
}
}