コード例 #1
0
 [SetUp] public void SetUp()
 {
     _filters        = new JetListViewFilterCollection();
     _nodeCollection = new JetListViewNodeCollection(_filters);
     _eventNodes     = new ArrayList();
     _eventCount     = 0;
 }
コード例 #2
0
 [SetUp] public void SetUp()
 {
     _filters               = new JetListViewFilterCollection();
     _nodeCollection        = new JetListViewNodeCollection(_filters);
     _model                 = new MultipleSelectionModel(_nodeCollection);
     _selectionStateChanges = new ArrayList();
     _activeNodeChanges     = 0;
 }
コード例 #3
0
 [SetUp] public void SetUp()
 {
     _filterCollection = new JetListViewFilterCollection();
     _nodeCollection   = new JetListViewNodeCollection(_filterCollection);
     _selectionModel   = new MultipleSelectionModel(_nodeCollection);
     _rowListRenderer  = new RowListRenderer(_nodeCollection, _selectionModel);
     _rowListRenderer.ActiveSelection = true;
     _rowRenderer = new MockRowRenderer();
     _rowListRenderer.RowRenderer = _rowRenderer;
     _rowRenderer.RowHeight       = 17;
     _scrollRangeChanges          = 0;
     _rowInvalidates    = new ArrayList();
     _clientRect        = new Rectangle(0, 0, 100, 100);
     _lastRequestScroll = -1;
 }