Smobiler上海石磨_.NET移动开发平台

标题: 遇到的错误问题? [打印本页]

作者: zoe    时间: 2019-4-8 10:28
标题: 遇到的错误问题?
错误如下图:
[attach]1408[/attach]


页面:(1)frmRdRecordsRows ,有ProductAdd() 方法 跳转至  frmRdRecordsCreate 页面
                    frmRdRecordsCreate frm = new frmRdRecordsCreate();      //详情页面
                    frm.AutoID = "";// ID 编号
                    this.Form.Show(frm, (MobileForm sender1, object args) =>
                    {
                        if (frm.ShowResult == ShowResult.Yes)
                        {
                            ((frmRdRecordsRows)(this.Form)).Bind();//重新加载数据
                        }
                    });

(2)frmRdRecordsCreate ,有save() 方法,完成就close()
                this.ShowResult = ShowResult.Yes;
                this.Close();
                Toast("修改成功" );



按正常操作,是frmRdRecordsRows 跳转至 frmRdRecordsCreate  ,save保存后,返回 frmRdRecordsRows,多次执行这个过程。

当操作次数多次时,
刚开始操作的时候是没问题的,但操作到某次(不确定)偶尔就会出现上图的错误。
求大神指点

作者: Lula.Jin    时间: 2019-4-8 16:48
这个错误表示你的窗体处于非活动状态,简单来说就不是你客户端上显示的窗口,建议将打断点排查




欢迎光临 Smobiler上海石磨_.NET移动开发平台 (https://www.smobiler.com/) Powered by Discuz! X3.2