我是新手
我把控制台的程序改到了winform上。
声明了一个变量 private LumaQQ.NET.QQClient client ;
在登陆时
QQUser user = new QQUser(Convert.ToInt32( textBox1.Text), textBox2.Text );
client =new LumaQQ.NET.QQClient(user);
在退出的时
client.LoginManager.Logout();
问题1:调用退出这个方法时会有一个错误?
public IConnection GetConnection(string id)
{
return registry[id]; //提示 给定关键字不在字典中
}
问题2:可以支持登陆2个或以上QQ吗?如果登陆2个QQ,如何声明事件?