private void HalconCCD_Load(object sender, EventArgs e) { mView = new HWndCtrl(this.hWindowControl_Player); mHoDisplay = this.hWindowControl_Player.HalconWindow; mView.event_disCurrentPoint += new HWndCtrl.dele_event_disCurrentPoint(mView_event_disCurrentPoint); }
/// <summary>Registers the HWndCtrl to this ROIController instance</summary> public void setViewController(HWndCtrl view) { viewController = view; }