Exemplo n.º 1
0
        private void DrawSpace(Graphics graphics, SpaceView spaceView, int x, int y)
        {
            DrawSpace(graphics, spaceView.HasLife, x, y);
            PointF corePoint = new PointF(WidthUnit * (x + 0.5f), HeightUnit * (y + 0.5f));

            if (spaceView.HasLife)
            {
                graphics.DrawString(spaceView.Count.ToString(), SystemFonts.DefaultFont, Caches.STRING_BRUSH, corePoint.X, corePoint.Y);
            }
        }
Exemplo n.º 2
0
 public SubscriptionView(int id, UserView user, SpaceView space)
 {
     Id    = id;
     User  = user;
     Space = space;
 }