private void button7_Click(object sender, EventArgs e) { if (DrawRegionCheck() == 1) { PublicData.createNewCheckModel.checkBigLableModel.BigLableRegion = HRegion; HalconCommonFunc.BigLablIntervalLable(PublicData.createNewCheckModel.ModelImage, PublicData.createNewCheckModel.checkBigLableModel.BigLableRegion, out HTuple BigLableNumber, out PublicData.createNewCheckModel.checkBigLableModel.BigLableSelect); HalconCommonFunc.DisplayRegionOrXld(PublicData.createNewCheckModel.checkBigLableModel.BigLableSelect, "blue", WindowsHandle, 2); PublicData.createNewCheckModel.checkBigLableModel.BigLableNumber = BigLableNumber.D; } }