用C++写的一个简单的界面演示系统 void CMiniDrawDoc::AddFigure (CFigure *PFigure) { m_FigArray.Add (PFigure); SetModifiedFlag (); } CFigure *CMiniDrawDoc::GetFigure (int Index) { if (Index < 0 || Index > m_FigArray.GetUpperBound ()) return 0; return (CFigure *)m_FigArray.GetA