Ejemplo n.º 1
0
        //-------------------------------------------------
        protected override void MyDraw(CContextDessinObjetGraphique ctx)
        {
            if (!m_intervention.IsValide())
            {
                return;
            }
            Text = m_intervention.Libelle;

            base.MyDraw(ctx);

            CUtilProjet.DrawIcones(ctx.Graphic, this);
        }
Ejemplo n.º 2
0
        //-------------------------------------------------
        protected override void MyDraw(CContextDessinObjetGraphique ctx)
        {
            Graphics g = ctx.Graphic;

            if (!m_projet.IsValide())
            {
                return;
            }
            Text = m_projet.Libelle;

            if (m_bMiniature)
            {
                g.DrawImage(new CWndProjetDetail(m_projet).Miniature, Position);
            }
            else
            {
                base.MyDraw(ctx);
            }

            m_bMiniature = false;


            CUtilProjet.DrawIcones(g, this);
        }