Ejemplo n.º 1
0
        /// <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();
        }
Ejemplo n.º 2
0
        /// <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();
        }