Ejemplo n.º 1
0
        public void WorkingLocationProvided(WorkingLocationInfo obj)
        {
            ApplicationConfigInfo config = Provide();

            config.WorkingLocation = obj;
            config.Save();
        }
Ejemplo n.º 2
0
 public void Load()
 {
     lock (FileLock)
     {
         XmlElement config = XmlHelper.LoadDocument(ConfigurationFilePath);
         GameLocation = GameLocationInfo.FromXml(config["GameLocation"]);
         WorkingLocation = WorkingLocationInfo.FromXml(config["WorkingLocation"]);
         FileCommanderSelectedNodePath = config.FindString("FileCommanderSelectedNodePath");
     }
 }
Ejemplo n.º 3
0
 public void Load()
 {
     lock (FileLock)
     {
         XmlElement config = XmlHelper.LoadDocument(ConfigurationFilePath);
         GameLocation    = GameLocationInfo.FromXml(config["GameLocation"]);
         WorkingLocation = WorkingLocationInfo.FromXml(config["WorkingLocation"]);
         FileCommanderSelectedNodePath = config.FindString("FileCommanderSelectedNodePath");
         LocalizatorEnvironment        = LocalizatorEnvironmentInfo.FromXml(config["LocalizatorEnvironment"]);
     }
 }