public Star(Canvas canvas, Random randomSeed)
 {
     RandomGenerator = randomSeed;
     Canvas = canvas;
     PositionRandomlyStarOnCanvas();
     Distance = 0;
     Speed = (double) randomSeed.Next(11, 99) / 1000;//Speed = 0.025;
 }
        private void FrmMain_Load(object sender, EventArgs e)
        {
            BackColor = Color.Black;
            ForeColor = Color.White;

            CanvasSurface = new Canvas(Width, Height);
            Stars = new List<Star>();
            CreateStars();
            TmrTime.Interval = 10;
            TmrTime.Enabled = true;
            TmrTime.Start();
        }