/// <summary> /// 初始化Shortcut /// </summary> protected void InitShortcutManager() { _shortcuts = new ShortcutManager(); string settingsPath = CardApplication.GetShortcutSettingsFileName(); if (File.Exists(settingsPath)) { _shortcuts.LoadSettings(settingsPath); } else { using (Stream settingsStream = Framework.Core.Resource.Manager.GetStream("ShortcutSettings.xml")) { _shortcuts.LoadSettings(settingsStream); } } }