コード例 #1
0
ファイル: JumpListHelper.cs プロジェクト: msjoiya/rharbor
        /// <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();
        }