showform的时候可以设置显示的位置吗
金蝶云社区-Timors
Timors
0人赞赏了该文章 1,431次浏览 未经作者许可,禁止转载编辑于2015年04月25日 10:44:15

showform的时候可以设置显示的位置吗
BillShowParameter para = new BillShowParameter();
para.Status = OperationStatus.ADDNEW;
para.FormId = "*******";
materialShowViewId = Guid.NewGuid().ToString();
para.PageId = materialShowViewId;
para.ParentPageId = this.View.PageId;
para.OpenStyle.ShowType = ShowType.Floating;
para.CustomComplexParams["Photo"] = frontImg;
this.View.ShowForm(para, (ret) =>
{
if (ret.ReturnData != null && ret.ReturnData is bool)
{
if (Convert.ToBoolean(ret.ReturnData)) materialShowViewId = null;
}
});