C#appointmentItem RecurrencePattern Occurences显示 [英] C# appointmentItem RecurrencePattern Occurences display

查看:112
本文介绍了C#appointmentItem RecurrencePattern Occurences显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,感谢您的时间,



我有一个"小"的C#的问题。


我正在开发一个outlook插件。基本上当你点击功能区上的一个按钮(在一个周期性的约会上)它只是试图做一些处理(这里不相关),然后如果它没有成功,如果出现的次数超过5,它会做
以下:

 RecurrencePattern recpat = this.item.GetRecurrencePattern(); 
recpat.Occurences = 5;

此时有5次出现。但是在窗口的显示屏上,会议日期没有更新到5次出现。


如果我保存约会,它会更新但保存(我希望用户这样做) ),如果我关闭并打开一个新的拦截器它会更新,但它会停止我之后要做的处理。


我尝试了this.UpdateLayout()方法,但它不起作用。



经过一天的积极搜索,我有点迷失了。看来在这里没有人试图做一些修改并等待用户保存它们。我认为这是一种双向约束,但似乎没有。然后我想也许这是一个已知问题
与outlook 2010(profesionnal计算机...)但我没有发现任何线索。


任何帮助都非常感谢而且我很抱歉我的英语可能出错我是法国人。

解决方案

嗨SachaMaiornikoff,


感谢您在此发帖。


根据您提出的问题与outlook有关,我会将其移至  供开发人员使用论坛以获得合适的支持。


此论坛讨论并询问C#编程语言,IDE,库,样本和工具。


最好的问候,


Wendy



Hi everybody and thanks for your time,

I have a "tiny" problem with C#.

I am develloping an outlook plug-in. Basically when you click on a button on the ribbon (on an appointment with a periodicity) it just tries to make some treatment (irrelevant here), then if it doesn't succeed and if the occurences are more than 5, it does the following :

RecurrencePattern recpat = this.item.GetRecurrencePattern();
recpat.Occurences = 5;

At this point there are 5 occurences. BUT on the display on the window, the dates for the meeting are not updating to 5 occurences.

If i save the appointment it updates but it is saved (which i want the user to do), if i close and open a new interceptor it updates but it stops the treatment i want to make afterwards.

I tried the this.UpdateLayout() method but it doesn't work.

I'm a bit lost after a day of active search on this one. It appears that on here nobody is trying to do some modification and wait for the user to save them. I thought that it was a two-way binding but it seems not. Then i thought maybe it's a known problem with outlook 2010 (profesionnal computers ...) but i didn't found any clue on this one.

Any help is really appreciated and I'm sorry for my possible mistakes on english i'm french.

解决方案

Hi SachaMaiornikoff,

Thank you for posting here.

According to your question is more related to outlook, I will move it to Outlook for Developers forum for suitable support.

This forum discuss and ask the C# programming language, IDE, libraries, samples and tools.

Best Regards,

Wendy


这篇关于C#appointmentItem RecurrencePattern Occurences显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆