2 writes to ratioWidth
System.Windows.Forms (2)
winforms\Managed\System\WinForms\SplitContainer.cs (2)
2280
ratioWidth
= ((double)(this.Width) / (double)(panel1.Width) > 0) ? (double)(this.Width) / (double)(panel1.Width) : ratioWidth;
2297
ratioWidth
= ((double)(this.Width) / (double)(splitterDistance) > 0) ? (double)(this.Width) / (double)(splitterDistance) : ratioWidth;
4 references to ratioWidth
System.Windows.Forms (4)
winforms\Managed\System\WinForms\SplitContainer.cs (4)
1781
if (
ratioWidth
!= 0.0) {
1782
splitterDistance = Math.Max((int)(Math.Floor(this.Width /
ratioWidth
)), Panel1MinSize);
2280
ratioWidth = ((double)(this.Width) / (double)(panel1.Width) > 0) ? (double)(this.Width) / (double)(panel1.Width) :
ratioWidth
;
2297
ratioWidth = ((double)(this.Width) / (double)(splitterDistance) > 0) ? (double)(this.Width) / (double)(splitterDistance) :
ratioWidth
;