static AppConfiguration()
        {
            Configurations = XmlSerializationService.ReadDataFromXml(Properties.Resources.Configuration, "Configuration");
            //Dictionary<string, string> config = new Dictionary<string, string>();
            //config.Add("UIFramework", ConfigurationManager.AppSettings["UIFramework"]);
            //config.Add("AudioOutputApi", ConfigurationManager.AppSettings["AudioOutputApi"]);
            //config.Add("Interaction", ConfigurationManager.AppSettings["Interaction"]);

            //Configurations = config;
        }
Beispiel #2
0
 public override void WhenClosing()
 {
     XmlSerializationService.Serialize(this, "soundboardData.xml");
     Dispose();
 }