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