/// <summary>
        /// Called by each EnumWindows for each window found
        /// </summary>
        /// <param name="hWndMainWindow"></param>
        /// <param name="data"></param>
        /// <returns></returns>
        public static bool EnumProc(IntPtr hWndMainWindow, ref RunOptions data)
        {
            StringBuilder sbTitle = new StringBuilder(512);

            if (GetWindowText(hWndMainWindow, sbTitle, sbTitle.Capacity) > 1)
            {
                string Title = sbTitle.ToString();
                if (Title.Contains("Reminder"))
                {
                    if (Title.Contains(" Reminder") &&
                        !Title.StartsWith("0 ")
                        )
                    {
                        ProcessOutlookEventWindow(hWndMainWindow, sbTitle, Title);
                    }
                    else
                    {
                        Debug.WriteLine($"{Title} not a match");
                    }
                }
            }
            return(true);
        }
 private static extern bool EnumWindows(EnumWindowsProc lpEnumFunc, ref RunOptions data);