Ejemplo n.º 1
0
 private void saveUserShortcuts()
 {
     using (XmlWriter writer = new XmlTextWriter(this.m_UserPaths.ShortcutsPath, Encoding.UTF8))
     {
         ShortcutDictionarySerializer.Serialize(r_ShortcutsToReplace, writer);
     }
 }
Ejemplo n.º 2
0
 private void loadShortcuts()
 {
     if (File.Exists(this.m_UserPaths.ShortcutsPath))
     {
         using (XmlReader reader = new XmlTextReader(this.m_UserPaths.ShortcutsPath))
         {
             ShortcutDictionarySerializer.Deserialize(r_ShortcutsToReplace, reader);
         }
     }
 }