在绘图基础类文件夹新建类cboxPublic Class CBox'结构VERTEX用来存储点的坐标Private m_minX, m_minY, m_maxX, m_maxY As Single Public Property minX() As Single Get Return m_minX End Get Set(ByVal Value As Single) m_minX = Value End Set End Property Public Property minY() As Single Get Return m_minY End Get Set(ByVal Value As Single) m_minY = Value End Set End Property Public Property maxX() As Single Get Return m_maxX End Get Set(ByVal Value As Single) m_maxX = Value End Set End Property Public Property maxY() As Single Get Return m_maxY End Get Set(ByVal Value As Single) m_maxY = Value End Set End PropertyEnd Class