private void ctrl_btn_click_Click(object sender, EventArgs e) { var p = getPoint(ctrl_pos.Text); dm.MoveTo(p.X, p.Y); dm.LeftClick(); }
public void click(int x, int y) { dm.MoveTo(x, y); dm.LeftClick(); }