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); }
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(); }