/// <summary>
        /// Refreshing the <see cref="AvailableOpenedWindows"/> collection with opened application windows.
        /// </summary>
        private static void GetOpenedWindows()
        {
            AvailableOpenedWindows.Clear();

            NativeMethods.EnumWindowsProc callback = new NativeMethods.EnumWindowsProc(Report);
            NativeMethods.EnumWindows(callback, (IntPtr)0);
        }
        /// <summary>
        /// Initializes the <see cref="AvailableOpenedWindows"/> collection with the
        /// currently opened applications windows on desktop.
        /// </summary>
        /// <param name="isGettingIcon"> Determine whether it will obtain the opened applications windows icons. </param>
        /// <returns> Returns <see cref="IEnumerable{T}"/> of the applications windows. </returns>
        public static IEnumerable <Window> InitOpenWindows(bool isGettingIcon)
        {
            IsGettingIcon = isGettingIcon;
            GetOpenedWindows();
            AvailableOpenedWindows.Sort();

            return(AvailableOpenedWindows);
        }