Exemplo n.º 1
0
        public object GetFormRegionIcon(
            string FormRegionName, int LCID, Outlook.OlFormRegionIcon Icon)
        {
            object icon = null;

            switch (Icon)
            {
            // This is a 'separate' form region, so only the page icon is used.
            case Outlook.OlFormRegionIcon.olFormRegionIconPage:
                icon = PictureConverter.IconToPictureDisp(Resources.page);
                break;
            }
            return(icon);
        }
Exemplo n.º 2
0
 public object GetFormRegionIcon(
     string FormRegionName, int LCID, Outlook.OlFormRegionIcon Icon)
 {
     return(PictureConverter.ImageToPictureDisp(
                Properties.Resources.espressoCup));
 }