private void Form1_Load(object sender, EventArgs e) { #region 初始化检测流 this._iCheckStrOne = new CheckStreamLibrary.CheckStream(); this._iCheckStrTwo = new CheckStreamLibrary.CheckStream(); this._iCheckStrOne.CheckStream_Init(this.halconWinControl_11); this._iCheckStrTwo.CheckStream_Init(this.halconWinControl_12); #endregion #region 初始化事件 this._iCheckStrOne._Resulte1 += _iCheckStrOne__Resulte1; this._iCheckStrTwo._Resulte1 += _iCheckStrTwo__Resulte1; #endregion }
public CalibrationFrm(ICheckStream ICheck_) { InitializeComponent(); _ICheckStr = ICheck_; }