/*private static void SetupSocial() { var person = new Person (Key.Result.PublicSignature.Aggregate (String.Empty, (s, b) => s + b.ToString ("X2"))) { Nickname = Settings.Nickname, Avatar = Settings.Avatar }; SocialClient = new GablarskiSocialClient (person, Key.Result); History = new ChatHistory (SocialClient); string host = ConfigurationManager.AppSettings["socialHost"]; SocialClient.SetTarget (new Target (host, SocialProtocol.DefaultPort)); }*/ private static void PersonalSetup() { var setupWindow = new PersonaSetupWindow(); bool? result = setupWindow.ShowDialog(); if (!result.HasValue || !result.Value) Environment.Exit (0); }