且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Outlook VSTO加载项 - 以表单为中心

更新时间:2023-12-05 20:53:10

你好
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