void Cm_DoAddOneClient(object sender, ConnectEventArgs e) { if (_isInvokedStart) { RequestData(); SubscribeData(); } }
void tcpRealTime_OnConnectServSuccess(object sender, ConnectEventArgs e) { Debug.Print("实时行情服务器连接成功!"); LogUtilities.LogMessage("实时行情服务器连接成功!"); if (DoAddOneClient != null) { DoAddOneClient(this, e); } }