SVN r480
SVN-Revision: r480
This commit is contained in:
@@ -143,7 +143,7 @@ namespace Lskj.Control
|
||||
/// <value>The is empty.</value>
|
||||
public override bool IsEmpty()
|
||||
{
|
||||
return base.Model != null && base.Model.IsEmpty && this.imgFile.Image != null;
|
||||
return base.Model != null && base.Model.IsEmpty && this.imgFile.Image == null;
|
||||
}
|
||||
/// <summary>
|
||||
/// <para>说明:图片是否改变</para>
|
||||
@@ -347,13 +347,13 @@ namespace Lskj.Control
|
||||
{
|
||||
try
|
||||
{
|
||||
string url = string.Format(this.DownloadUrl, ERPInfo.Instance.UserName, ERPInfo.Instance.Password, "", "0");
|
||||
// 固定传入参数(窗口标题、操作员ID、操作员名称、权限、模版编号)
|
||||
string[] defaultArgs = string.Format(ModuleArgs.DefaultArgs, "预览", ERPInfo.Instance.UserId, ERPInfo.Instance.UserName, "2", "").Split('~');
|
||||
string[] menuArgs = new string[] { "", "", url } ;
|
||||
string[] args = defaultArgs.Concat(menuArgs).ToArray();
|
||||
IForm form = FormHelper.LoadDllForm("Lskj.PubBrower.dll", args);
|
||||
DialogResult result = form.SubForm.ShowDialog();
|
||||
string url = string.Format(this.DownloadUrl, ERPInfo.Instance.UserName, ERPInfo.Instance.Password, "", "0");
|
||||
// 固定传入参数(窗口标题、操作员ID、操作员名称、权限、模版编号)
|
||||
string[] defaultArgs = string.Format(ModuleArgs.DefaultArgs, "预览", ERPInfo.Instance.UserId, ERPInfo.Instance.UserName, "2", "").Split('~');
|
||||
string[] menuArgs = new string[] { "", "", url };
|
||||
string[] args = defaultArgs.Concat(menuArgs).ToArray();
|
||||
IForm form = FormHelper.LoadDllForm("Lskj.PubBrower.dll", args);
|
||||
DialogResult result = form.SubForm.ShowDialog();
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
Reference in New Issue
Block a user