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