static public void DeleteKey(ContextMenuKey key) { try { StoredContextMenuKey.ToStore(key, ThisProgram.Path_RemoveKeys, true); } catch (Exception ex) { ThisProgram.ThrowException(ex); } }
static public ContextMenuKey RestoreKey(StoredContextMenuKey key) { try { return(key.FromStore()); } catch (Exception ex) { ThisProgram.ThrowException(ex); return(null); } }