Exemplo n.º 1
0
 public Capturer(Analyst analyst, MouseMover mouseMover, Point screenSize, double window, string path, int delay)
 {
     this.analyst       = analyst;
     analyst.headOffset = headOffset;
     this.path          = path;
     this.delay         = delay;
     this.mouseMover    = mouseMover;
     this.screenSize    = screenSize;
     this.window        = window;
 }
Exemplo n.º 2
0
        private void initialize()
        {
            analyst  = new Analyst();
            mover    = new MouseMover(screenSize, 8.0f);
            capturer = new Capturer(analyst, mover, screenSize, 1200.0, path, 15);
            hooker   = new Hooker(capturer, Keys.C);

            captureThread = new Thread(() => { capturer.run(); }, 1000000000);
            hookerThread  = new Thread(() => { hooker.run(); });

            aimBox.DropDownStyle = ComboBoxStyle.DropDownList;
            aimBox.SelectedIndex = aimBox.Items.IndexOf("C");
        }