Foxtable(狐表)用户栏目专家坐堂 → [求助]


  共有1849人关注过本帖树形打印复制链接

主题:[求助]

帅哥哟,离线,有人找我吗?
zcgmxf
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:七尾狐 帖子:1636 积分:14489 威望:0 精华:0 注册:2014/6/6 8:42:00
[求助]  发帖心情 Post By:2015/7/4 20:33:00 [只看该作者]

求助各位大师:开发版与商业版的代码是不是完全兼容?论坛示例“内部通讯”移到开发版后未读消息双击打不开。请指点。谢谢!

 

If e.Form.Controls("TextBox1").Value = Nothing Then
    Dim lst As WinForm.ListBox = e.Form.Controls("ListBox1")
    If lst.SelectedIndex >=0 Then
        Dim s As String = lst.SelectedItem
        e.Form.Controls("用户名").Text = s.Remove(s.IndexOf("("))  '删除"("之后的字符
    End If
Else
    Dim lst As WinForm.ListBox = e.Form.Controls("ListBox1")
    If lst.SelectedIndex >=0 Then
        Dim s As String = lst.SelectedItem
        If s.Remove(s.IndexOf("("))  <> e.Form.Controls("用户名").Text Then
            If MessageBox.Show("该操作会清空聊天记录,是否继续?","提示",MessageBoxButtons.YesNo,MessageBoxIcon.Question) = DialogResult.Yes Then
                e.Form.Controls("TextBox1").Value = Nothing
                e.Form.Controls("TextBox3").Value = Nothing
                e.Form.Controls("用户名").Text = s.Remove(s.IndexOf("("))  '删除"("之后的字符
            End If
        End If
    End If
End If


 回到顶部
帅哥哟,离线,有人找我吗?
大红袍
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:贵宾 帖子:39310 积分:196782 威望:0 精华:1 注册:2015/4/25 9:23:00
  发帖心情 Post By:2015/7/5 9:29:00 [只看该作者]

 请,上传,具体不行的例子。

 回到顶部