Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
インデックスを提供できるMenuStripのアイテムに関連付けられたC#でMenuStripのクリック関数を呼び出したい、たとえば呼び出したい
menuStrip1.Items[0]
クリック機能。
コールPerformClick()、つまりmenuStrip1.Items[0].PerformClick();
PerformClick()
menuStrip1.Items[0].PerformClick();