private void DlgGameLobby_LaunchGame(PnlLobbyParticipant sender) { this.RemoveGameFromList(); this.SendMessage(SpaceSiegeLobbyMessages.ChatMessage, new object[] { "I have launched the game." }); this.Game.HasLaunched = true; sender.Participant.IsReady = false; sender.SetParticipant(sender.Participant); GameInformation.SelectedGame.UserForcedCommandLineArgs = string.Format("character={0} players={1}", (this.Game.GetSelf() as SpaceSiegeGameParticipant).Character.CharacterName, this.Game.Members.Count); GPGnetSelectedGame.ProfileName = (this.Game.GetSelf() as SpaceSiegeGameParticipant).Character.CharacterName; base.MainForm.GameHosted += new EventHandler(this.MainForm_GameHosted); base.MainForm.HostGame(this.Game.ID); }