private void MainForm_Load(object sender, EventArgs e) { Server = new IM.Core.IMServer(); //注册接受消息事件 Server.OnReciveMessage += Server_OnReciveMessage; Server.OnConnectServer += Server_OnConnectServer; }
private void MainForm_Load(object sender, EventArgs e) { Server = new IM.Core.IMServer(); //注册接受消息事件 Server.OnReciveMessage+=Server_OnReciveMessage; Server.OnConnectServer += Server_OnConnectServer; }