public object GetFormRegionStorage(
            string FormRegionName, object Item, int LCID,
            Outlook.OlFormRegionMode FormRegionMode,
            Outlook.OlFormRegionSize FormRegionSize)
        {
            Application.DoEvents();
            switch (FormRegionName)
            {
            case _formRegionName:
                return(Properties.Resources.SimpleFormRegionOfs);

            default:
                return(null);
            }
        }
Beispiel #2
0
        public object GetFormRegionStorage(
            string FormRegionName, object Item, int LCID,
            Outlook.OlFormRegionMode FormRegionMode,
            Outlook.OlFormRegionSize FormRegionSize)
        {
            Application.DoEvents();
            switch (FormRegionName)
            {
            case Connect.FormRegionValue1:
                return(Resources.CustomFormRegion_1_OFS);

            case Connect.FormRegionValue2:
                return(Resources.CustomFormRegion_2_OFS);

            case Connect.FormRegionValue3:
                return(Resources.CustomFormRegion_3_OFS);

            default:
                return(null);
            }
        }