Outlook VSTO加载项 - 以表单为中心 [英] Outlook VSTO Add-In - centering a form
问题描述
我有一个用于Outlook 2016的VSTO插件,我想显示一个.NET表单。 我已将StartPosition设置为CenterParent - 但是,表单不会在Outlook窗口中居中,而是在打开时在屏幕中居中。 有没有办法让
显示位于父Outlook窗口中心的.NET表单?
你好
WayneAllen,
<我尝试在我身边测试这个问题。
我发现它在我这边工作正常。
输出:
我在屏幕上对Outlook的位置做了很多测试。它始终正常工作。
我将再次尝试使用Outlook 2016进行测试。一旦我可以使用它。
问候
p>
Deepak
I have a VSTO addin for Outlook 2016, and I want to show a .NET form. I have set the StartPosition to CenterParent - however, the form does not centre on the Outlook window but rather centres in the screen when it opens. Is there any way to show a .NET form positioned in the centre of the parent Outlook window?
Hi WayneAllen,
I try to test the issue on my side.
I find that it is working correctly on my side.
Output:
I made many test with positions of Outlook on the screen. it works properly all the time.
I will again try to make a test with Outlook 2016. once I available with it.
Regards
Deepak
这篇关于Outlook VSTO加载项 - 以表单为中心的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!