OL&VS 2010を使用しています。フォーム領域をVSで直接設計すると、FormRegion.Designer.cs
ファイルには次のような定義が含まれます。
this.SomeButton = new System.Windows.Forms.Button();
ただし、OLで設計されてインポートされた場合、定義は次のとおりです。
this.SomeButton = (Microsoft.Office.Interop.Outlook.OlkCommandButton)GetFormRegionControl("SomeButton");
私の問題は、aにはプログラムで設定できるプロパティがありますが、aにSystem.Windows.Forms.Button
はないということです。TabIndex
Microsoft.Office.Interop.Outlook.OlkCommandButton
どうすればOlkCommandButton
'sを変更できTabIndex
ますか?