예제 #1
0
파일: Service.cs 프로젝트: mm999/QQHelper
 public void getSession()
 {
     if (Context.Session["cw"] == null)
     {
         Context.Session["cw"] = new CWebQQ();
     }
     cw = (CWebQQ)Context.Session["cw"];
 }
예제 #2
0
        public override void OnStrategyStop()
        {
            cw.RevMsg -= cw_RevMsg;
            cw.Quit();

            cw = null;
            ce = null;
            ch = null;
        }
예제 #3
0
        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);
        }
예제 #4
0
        public override void OnStrategyStop()
        {
            cw.RevMsg -= cw_RevMsg;
            cw.Quit();

            cw = null;
            ce = null;
            ch = null;
        }
예제 #5
0
        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);
        }
예제 #6
0
 public void getSession()
 {
     if (Context.Session["cw"] == null) Context.Session["cw"] = new CWebQQ();
      cw = (CWebQQ)Context.Session["cw"];
 }