Ejemplo n.º 1
0
        private void OnSaveCommand()
        {
            userSettings.DefaultServerAddress             = DefaultSettings.DefaultServerAddress;
            userSettings.DefaultServerPort                = DefaultSettings.DefaultServerPort;
            userSettings.DefaultOutputDirectory           = DefaultSettings.DefaultOutputDirectory;
            userSettings.DefaultFileName                  = DefaultSettings.DefaultFileName;
            userSettings.AutomaticallySaveToFile          = DefaultSettings.AutomaticallySaveToFile;
            userSettings.AutomaticallyExpandQuickCommands = DefaultSettings.AutomaticallyExpandQuickCommands;

            xmlCreator.UpdateUserSettingsXmlFile(filePath, userSettings);

            LastSaved = DateTime.Now.ToString("dd/MM/yyyy, HH:mm:ss");
        }