/// <summary> /// Models data on Saturn /// </summary> /// <param name="data"></param> public void ModelData(double xac, double yac, double zac) { ReOpenSaturn(); // Create a new Stage if needed updatePlanet(xac, yac, zac); myStage.Show(); // Show the form myStage.Render(); // Render the new values }
/// <summary> /// Models data on Saturn /// </summary> /// <param name="data"></param> public void ModelData(double xac, double yac, double zac) { if (!myStage.IsDisposed) { updatePlanet(xac, yac, zac); myStage.Show(); // Show the form myStage.Render(); // Render the new values } else { ReOpenSaturn(); } }