public void ScrollControlIntoView (Control activeControl)
{
int corner_x;
int corner_y;
Rectangle within = new Rectangle ();
within.Size = ClientSize;
if (!AutoScroll || (!m_helper.HasHorizontalRuler && !m_helper.HasVerticalRuler)) {
return;
}
if (!Contains (activeControl)) {
return;
}
m_helper.ScrollRectToVisible (new RectangleF (activeControl.Location, activeControl.Size));
}