private void toolGrayMatch_Click(object sender, EventArgs e) { var shape = new DetectPttern(); shape.InitOption(); this.detectBindingSource.Add(shape); }
public DetectPttern() : base() { this.Name = "灰度匹配"; DetectPttern.Init(); this.Type = ResultType.XY | ResultType.Angle | ResultType.Init; }