2 writes to _ratioHeight
System.Windows.Forms (2)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (2)
2236_ratioHeight = (Height / (double)(Panel1.Height) > 0) ? Height / (double)(Panel1.Height) : _ratioHeight; 2255_ratioHeight = (Height / (double)(_splitterDistance) > 0) ? Height / (double)(_splitterDistance) : _ratioHeight;
4 references to _ratioHeight
System.Windows.Forms (4)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (4)
1696if (_ratioHeight != 0.0) 1698_splitterDistance = Math.Max((int)(Math.Floor(Height / _ratioHeight)), Panel1MinSize); 2236_ratioHeight = (Height / (double)(Panel1.Height) > 0) ? Height / (double)(Panel1.Height) : _ratioHeight; 2255_ratioHeight = (Height / (double)(_splitterDistance) > 0) ? Height / (double)(_splitterDistance) : _ratioHeight;