2 writes to _ratioWidth
System.Windows.Forms (2)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (2)
2195
_ratioWidth
= (Width / (double)(Panel1.Width) > 0) ? Width / (double)(Panel1.Width) : _ratioWidth;
2214
_ratioWidth
= (Width / (double)(_splitterDistance) > 0) ? Width / (double)(_splitterDistance) : _ratioWidth;
4 references to _ratioWidth
System.Windows.Forms (4)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (4)
1633
if (
_ratioWidth
!= 0.0)
1635
_splitterDistance = Math.Max((int)(Math.Floor(Width /
_ratioWidth
)), Panel1MinSize);
2195
_ratioWidth = (Width / (double)(Panel1.Width) > 0) ? Width / (double)(Panel1.Width) :
_ratioWidth
;
2214
_ratioWidth = (Width / (double)(_splitterDistance) > 0) ? Width / (double)(_splitterDistance) :
_ratioWidth
;