1
我有一個WinForm基類protected MenuStrip
。是否有可能(在設計器中)編輯派生的Form
中的MenuStrip
項目?我試過public
和protected
,沒有什麼區別。 Buttons
和工作正常,我可以在衍生Form
編輯。編輯派生的WinForm MenuStrip
我當然可以用編程方式做,但那不是我要找的。
我有一個WinForm基類protected MenuStrip
。是否有可能(在設計器中)編輯派生的Form
中的MenuStrip
項目?我試過public
和protected
,沒有什麼區別。 Buttons
和工作正常,我可以在衍生Form
編輯。編輯派生的WinForm MenuStrip
我當然可以用編程方式做,但那不是我要找的。
看看EnableDesignMode方法。
請您詳細說明它是如何完成的? – 2013-09-12 12:17:50