public void linkToView(VisionInspect imgdoc) { #region 绑定父view imageDoc = imgdoc; #endregion }
public clsCameraView() { #region 默认参数 m_iIndex = 0; m_lptCenter = new Point(0, 0); m_lptMarkOffset = new Point(0, 0); m_image = new clsImage(); imageDoc = null; #endregion }
public clsAreaView() { #region 初始化,默认值 m_iScale = 1.0M; m_lptTopLeft = new Point(0, 0); m_lptBottomRight = new Point(1920, 1200); m_lptCenter = new Point(960, 600); m_vrcScreenArea = new Rectangle(0, 0, 300, 200); m_vrcPCBImageArea = new Rectangle(0, 0, 300, 200); m_image = new clsImage(); m_image.Color = clsPCB.m_pPCB.m_bColor; imageDoc = null; #endregion }