简体   繁体   中英

How to correctly rename a SplitContainer WinForms control and its panels?

I've placed a split container on a form and want to rename it and its panels to something meaningful (as I am going to add more SplitContainers on this form). Butwhen I rename splitContainer1 to mainSplitContainer, its panels are still named splitContainer1.Panel1 and splitContainer1.Panel2 (while i already have no object called splitContainer1) and I can't find a way to fix this. Do you know the way?

您无法重命名面板,因为这些属性不是嵌入式控件。

You could use a global search and replace. This is accessed by [Ctrl] + [Shift] + [H]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM