还差什么,为什么提示信息不会显示?
1人赞赏了该文章
1,500次浏览
编辑于2019年05月29日 22:49:34
public class aa : AbstractOperationServicePlugIn
{
public override void OnAddValidators(AddValidatorsEventArgs e)
{
base.OnAddValidators(e);
this.OperationResult.IsShowMessage = true;
}
public override void EndOperationTransaction(EndOperationTransactionArgs e)
{
OperateResult result = new OperateResult();
result.Message = "保存领料成功返回";
this.OperationResult.IsSuccess = true;
this.OperationResult.OperateResult.Insert (0,result);
}
}
{
public override void OnAddValidators(AddValidatorsEventArgs e)
{
base.OnAddValidators(e);
this.OperationResult.IsShowMessage = true;
}
public override void EndOperationTransaction(EndOperationTransactionArgs e)
{
OperateResult result = new OperateResult();
result.Message = "保存领料成功返回";
this.OperationResult.IsSuccess = true;
this.OperationResult.OperateResult.Insert (0,result);
}
}
推荐阅读