textBox1.TextChanged += (s, _) => { if (!textBox2.Focused && textBox1.Text != textBox2.Text) { textBox2.Text = textBox1.Text; } };
measure_pos (Image, MsrHandle_Measure1, 1, AmplitudeThreshold_1, 'all', 'all', Row_Measure1, Column_Measure1, Amplitude_Measure_01_1, Distance_Measure_01_1)
tuple_mean (Row_Measure1, MeanR)
tuple_mean (Column_Measure1, MeanC)
gen_circle (Circle3, MeanR, MeanC, 16.5)
inner_rectangle1(RegionAffineTrans1, Row1, Column1, Row2, Column2)
gen_rectangle1(Rect,Row1, Column1, Row2, Column2)
sort_region(Rect,RectSort,'character','true', 'row')
count_obj (RegionAffineTrans1, Number)
gen_empty_obj(RegionAffineTransSort)
dev_update_off ()
for i:=1 to Number by 1
select_obj (RectSort, ObjectSelected1, i)
for j:=1 to Number by 1
select_obj (RegionAffineTrans1, ObjectSelected2, j)
intersection(ObjectSelected1,ObjectSelected2,ObjectSelected)
area_center (ObjectSelected, Area, Row1, Column1)
if (Area>1)
concat_obj(RegionAffineTransSort,ObjectSelected2,RegionAffineTransSort)
break
endif
endfor
endfor