private void HandleResultChosen(object sender, System.EventArgs e)
        {
            INewGameControl ctl = (INewGameControl)sender;

            this.playerColor  = ctl.PlayerColor;
            this.civilization = ctl.ChosenCivilization;
            this.opponents    = ctl.ChosenOpponents;
            this.leaderName   = ctl.LeaderName;
            GameRoot root = ClientApplication.Instance.ServerInstance;

            root.StartServer(ctl.WorldSize, ctl.Age, ctl.Temperature, ctl.Climate, ctl.Landmass, ctl.WaterCoverage, ctl.BarbarianAggressiveness, ctl.Difficulty, ctl.Rules);
            OnInvoked();
        }
        /// <summary>
        /// Invokes the command.
        /// </summary>
        public override void Invoke()
        {
            OnInvoking();
            ClientApplication client = ClientApplication.Instance;
            GameRoot          root   = client.ServerInstance;

            //load the ruleset
            string loadingMessage = ClientResources.GetString("item_loading");
            string message        = string.Format(CultureInfo.CurrentCulture, loadingMessage, this.rulesetPath);

            client.Console.WriteLine(message);
            root.LoadRuleset(this.rulesetPath);

            //load the tileset
            message = string.Format(CultureInfo.CurrentCulture, loadingMessage, this.tilesetPath);
            client.Console.WriteLine(message);
            client.LoadTileset(this.tilesetPath);

            INewGameControl ctl = (INewGameControl)client.GetControl(typeof(INewGameControl));

            ctl.ResultChosen += new EventHandler(HandleResultChosen);
            ctl.ShowSimilizationControl();
        }