/// <Summary> /// Display fleet Detail /// </Summary> /// <param name="Item">The <see cref="Item"/> to display (a <see cref="Fleet"/> or <see cref="Star"/>).</param> private void DisplayFleet(Fleet fleet) { FleetDetail.Value = fleet; selectedControl = FleetDetail; FleetDetail.Show(); PlanetDetail.Hide(); Invalidate(); }
/// <Summary> /// Display planet Detail /// </Summary> /// <param name="Item">The <see cref="Item"/> to display (a <see cref="Fleet"/> or <see cref="Star"/>).</param> private void DisplayPlanet(Star star) { PlanetDetail.Value = star; selectedControl = PlanetDetail; PlanetDetail.Show(); FleetDetail.Hide(); Invalidate(); }