public void Setup() { _tableLayoutWrapper = A.Fake <ITableLayoutWrapper>(); _hScrollPropertiesWrapper = A.Fake <IHScrollPropertiesWrapper>(); _vScrollPropertiesWrapper = A.Fake <IVScrollPropertiesWrapper>(); _win32Adapter = A.Fake <IWin32Adapter>(); _strategy = new VerticalScrollStrategy(_win32Adapter); }
public VerticalScrollStrategy(IWin32Adapter win32Adapter) { _win32Adapter = win32Adapter; Application.AddMessageFilter(this); }