开发者

Jabber-net RosterTree error

开发者 https://www.devze.com 2022-12-25 09:08 出处:网络
Whenever I add the Jabber-net RosterTree control to my form, I can see that the PresenceManager and RosterManager property values for it have this error listed:

Whenever I add the Jabber-net RosterTree control to my form, I can see that the PresenceManager and RosterManager property values for it have this error listed:

Unable to cast object of type 'System.Windows.Forms.DataGridViewTextBoxColumn' to type 'System.ComponentModel.Component'.

I can compile the solutio开发者_如何学Gon and all but this error keeps popping up randomly. Can someone advice when this may happen. I'm thinking it has to do with the controls not being added properly.


Try setting the InvokeControl on your JabberClient instance to something that is a Component, like your Form, for instance. If that fixes the problem, then I know where the bug is.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号