using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; using System.Windows.Forms; namespace wcfControlMonitorClient { public class NewPanel : System.Windows.Forms.Panel { protected override Point ScrollToControl(Control activeControl) { // return base.ScrollToControl(activeControl); return this.AutoScrollPosition; } } }