Esempio n. 1
0
        public override void Render(Graphics g)
        {
            double left = VPos.X - Bradius;
            double top  = VPos.Y - Bradius;
            double size = Bradius * 2;

            g.FillEllipse(new SolidBrush(Color), (int)left, (int)top, (int)size, (int)size);
            g.DrawString("G", new Font(new FontFamily("Times New Roman"), 6f), new SolidBrush(Color.Black),
                         (float)left, (float)top);


            g.DrawString(HashTagLifeGoal.GetGoalDescription(), new Font(new FontFamily("Times New Roman"), 8f),
                         new SolidBrush(Color.Black), (float)left + 10, (float)top);


            base.Render(g);
        }