public Form1() { var earth = new Planet(this.sol); sol.OrbitSun(earth, 365d); earth.AddSatellite(new Moon(earth), 28d); var mars = new Planet(this.sol); sol.OrbitSun(mars, 450d); var phobos = new Moon(mars); mars.AddSatellite(phobos, 41d); var deimos = new Moon(phobos); phobos.AddSatellite(deimos, 15d); InitializeComponent(); }