private void bDetect_Click(object sender, EventArgs e) { var temp = VisionDetect?.Invoke((short)this.numericUpDown1.Value, (short)this.numericUpDown2.Value); this.label8.Text = temp.Item2.ToString(); Form_Main.Instance.XYGoPos(temp.Item1, Form_Main.VariableSys.VelMode_Current_Manual); }
private void GoAndCheck(string func, Roi roi) { CommonHelper.DoEvent(500); VisionDetect?.Invoke(this.module, func); }
private PointF GoAndCheck(short min, short max) { CommonHelper.DoEvent(500); return((VisionDetect?.Invoke(min, max)).Item1); }
private void toolDetect_Click(object sender, EventArgs e) { VisionDetect?.Invoke(this.tlVisionList.Text); }