2 writes to ratioHeight
System.Windows.Forms (2)
winforms\Managed\System\WinForms\SplitContainer.cs (2)
2316
ratioHeight
= ((double)(this.Height) / (double)(panel1.Height) > 0) ? (double)(this.Height) / (double)(panel1.Height) : ratioHeight;
2332
ratioHeight
= ((double)(this.Height) / (double)(splitterDistance) > 0) ? (double)(this.Height) / (double)(splitterDistance) : ratioHeight;
4 references to ratioHeight
System.Windows.Forms (4)
winforms\Managed\System\WinForms\SplitContainer.cs (4)
1833
if (
ratioHeight
!= 0.0)
1835
splitterDistance = Math.Max((int)(Math.Floor(this.Height /
ratioHeight
)), Panel1MinSize);
2316
ratioHeight = ((double)(this.Height) / (double)(panel1.Height) > 0) ? (double)(this.Height) / (double)(panel1.Height) :
ratioHeight
;
2332
ratioHeight = ((double)(this.Height) / (double)(splitterDistance) > 0) ? (double)(this.Height) / (double)(splitterDistance) :
ratioHeight
;