public bool LoginToSvr(string szIP, int nPort, long lnAccID, long nTime, string szMD5) { _ClientNet = new ClientNet(this); _ClientNet._clientEvent = _pEvent; if (!_ClientNet.Login(szIP, nPort, lnAccID, nTime, szMD5)) { return false; } AccountID = lnAccID; return true; }