Beispiel #1
0
        [Test] public void MouseSelect()
        {
            JetListViewNode item = _nodeCollection.Add("Item1", null);

            Assert.IsFalse(_model.IsNodeSelected(item));
            _model.HandleMouseDown(item, Keys.None);
            Assert.IsTrue(_model.IsNodeSelected(item));
            Assert.IsTrue(_model.IsNodeFocused(item));
        }