public void getSession() { if (Context.Session["cw"] == null) { Context.Session["cw"] = new CWebQQ(); } cw = (CWebQQ)Context.Session["cw"]; }
public override void OnStrategyStop() { cw.RevMsg -= cw_RevMsg; cw.Quit(); cw = null; ce = null; ch = null; }
public override void OnStrategyStart() { //必须加,否则一切函数都不好使bbs.yiwowang.com CFun.I_LOVE_BBS("yiwowang.com"); cw = new CWebQQ(); ce = new CEncode(); ch = new CHttpWeb(); cw.RevMsg += cw_RevMsg; cw.SetHttpWeb(ch); }
public void getSession() { if (Context.Session["cw"] == null) Context.Session["cw"] = new CWebQQ(); cw = (CWebQQ)Context.Session["cw"]; }