Esempio n. 1
0
        private void button4_Click(object sender, EventArgs e)
        {
            BaseTaker taker = BaseTaker.factory(takerKind);

            taker.setCookie(cookie);
            taker.setProxy(proxy);
            taker.setUid(uid);
            taker.setInterval(interval);
            taker.setTopCount(topCount);
            server.StartOnce(taker);
        }
Esempio n. 2
0
        public void start()
        {
            BaseTaker taker = BaseTaker.factory(takerKind);

            taker.setCookie(cookie);
            taker.setUid(uid);
            taker.setInterval(interval);
            taker.setTopCount(topCount);
            taker.setProxy(proxy);
            server.Start(taker);
            Win32Api.SystemUnsleepLock();
        }