Beispiel #1
0
        /// <summary>
        /// Renews all the app's Jump List.
        /// </summary>
        /// <param name="connections"></param>
        public static void RenewJumpList(IEnumerable <ConnectionInfoBase> connections)
        {
            var jumpList = new JumpList();

            jumpList.BeginInit();
            connections.Where(x => x.ShowInJumpList == true)
            .ToList()
            .ForEach(x => AddConnectionJumpTask(jumpList, x));
            jumpList.EndInit();
            jumpList.Apply();
        }