public ApplicationSettings() { Command = new ConfigurationCommand(); Command.SaveCommand = new DelegateCommand(new Action(Save)); Command.RouteConnectionCommand = new DelegateCommand(new Action(RouteConnection)); Command.ButtonContent = "Connect"; Command.IsEnabled = true; Configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); General = (GeneralSettings)Configuration.Sections["generalSettings"]; Contact = (ContactSettings)Configuration.Sections["contactSettings"]; Database = (ConnectionStringSettings)Configuration.Sections["connectionStringCollection"]; Audio = (AudioSettings)Configuration.Sections["audioSettings"]; OpenWith = new OpenWithSettings(); }