private void Select(SelectionModel manager, int groupIndex, int itemIndex, bool select) { Log.Comment((select ? "Selecting " : "DeSelecting ") + groupIndex + "." + itemIndex); if (select) { manager.Select(groupIndex, itemIndex); } else { manager.Deselect(groupIndex, itemIndex); } }
private void Select(SelectionModel manager, int index, bool select) { Log.Comment((select ? "Selecting " : "DeSelecting ") + index); if (select) { manager.Select(index); } else { manager.Deselect(index); } }