Commit b28bbe41 LN

1

1 个父辈 3589303b
......@@ -32,7 +32,7 @@ namespace AccAOI.control
/// 区域信息
/// </summary>
public GraphicsPath currPath = null;
public ImageBoxEx BImageBox;
public ImageBox BImageBox;
public AoiMethod AoiInfo;
protected Image BaseImage = null;
......@@ -63,7 +63,7 @@ namespace AccAOI.control
private void btnClearArea_Click(object sender, EventArgs e)
{
this.BImageBox.CleearArea();
// this.BImageBox.CleearArea();
this.aoiImage.Image = null;
}
......
......@@ -64,10 +64,7 @@ namespace AccAOI.control
GetAoiInfo();
Image outImage = null;
float rate = methodRgb.GetRate(BaseImage, out outImage);
if (double.IsNaN(rate))
{
return;
}
txtRate.Text = rate.ToString();
this.aoiImage.Image = outImage;
}
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!