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)
1696
if (
_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
;