用户
 找回密码
 立即注册

1

主题

2

帖子

103

积分

注册会员

Rank: 2

积分
103
发表于 2019-8-24 22:32:25
各位大神 能否把下面语句转换成vb.net,  谢谢
Show(frm, (MobileForm sender1, object args) =>
                {
                    if (frm.ShowResult == ShowResult.Yes)
                    {

                        ListView1.DataSource = Rows;
                        ListView1.DataBind();
                    }
                });


目前我我用下面的语句,还没有等我 点击 frm 窗体的数据,就执行下面的了,用ShowDialog 还不支持。

        Show(frm)

        If frm.ShowResult = ShowResult.Yes Then

               If Rows.Count > 0 Then

                ListView1.DataSource = Rows
                ListView1.DataBind()
            End If
        End If


分享至 : QQ空间
0 人收藏
使用道具 举报 回复
发表于 2019-8-25 17:06:03
问题已经解决,谢谢群友人民币
Show(frm, Function(sender1 As MobileForm, args As Object)
If frm.ShowResult = ShowResult.Yes Then

        ListView1.DataSource = Rows
        ListView1.DataBind()
End If

End Function)
使用道具 举报 回复 支持 反对
发新帖
您需要登录后才可以回帖 登录 | 立即注册