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