3 writes to optimalHeight
System.Windows.Forms (3)
winforms\Managed\System\WinForms\PropertyGridInternal\HotCommands.cs (3)
102optimalHeight = verbCount * lineHeight + 8; 148optimalHeight = -1; 192optimalHeight = -1;
2 references to optimalHeight
System.Windows.Forms (2)
winforms\Managed\System\WinForms\PropertyGridInternal\HotCommands.cs (2)
96if (optimalHeight == -1) { 104return optimalHeight;