Esempio n. 1
0
        public Icon[] GetOverlayIcons(IResource res)
        {
            int val = res.GetIntProp("PR_ICON_INDEX");

            if (val == 261)
            {
                return(_replied);
            }
            else
            if (val == 262)
            {
                return(_forwarded);
            }
            else
            {
                IResource folder = Mail.GetParentFolder(res);
                if (folder != null)
                {
                    return(FolderIconProvider.GetOverlayIcon(folder));
                }
            }
            return(null);
        }