Ejemplo n.º 1
0
        public virtual void Draw(Graphics g, Font f, ref Point ptPos, NewXmlEditControl editor, ref int iLine)
        {
            if (_lineFirst != null)
            {
                _lineFirst.Draw(editor, g, f, ptPos);

                ptPos.Y += editor.FontHeight;
            }

            if (_lstLineText != null)
            {
                foreach (Line line in _lstLineText)
                {
                    line.Draw(editor, g, f, ptPos);

                    ptPos.Y += editor.FontHeight;
                }
            }
            foreach (VXmlNode node in _lstChildNode)
            {
                node.Draw(g, f, ref ptPos, editor, ref iLine);
            }

            if (_lineLast != null)
            {
                _lineLast.Draw(editor, g, f, ptPos);

                ptPos.Y += editor.FontHeight;
            }
        }
Ejemplo n.º 2
0
        public virtual void Draw(Graphics g, Font f, ref Point ptPos, NewXmlEditControl editor, ref int iLine)
        {
            //if (_lineFirst != null)
            //{
            //    _lineFirst.Draw(editor, g, f, ptPos);

            //    ptPos.Y += editor.FontHeight;
            //}

            //if (_lstLineText != null)
            //{
            //    foreach (Line line in _lstLineText)
            //    {
            //        line.Draw(editor, g, f, ptPos);

            //        ptPos.Y += editor.FontHeight;
            //    }
            //}
            //foreach (VXmlNode node in _lstChildNode)
            //{
            //    node.Draw(g, f, ref ptPos, editor, ref iLine);
            //}

            //if (_lineLast != null)
            //{
            //    _lineLast.Draw(editor, g, f, ptPos);

            //    ptPos.Y += editor.FontHeight;
            //}
        }
Ejemplo n.º 3
0
 public virtual void Draw(Graphics g, Font f, ref Point ptPos, NewXmlEditControl editor, ref int iLine)
 {
 }