private void chkNode_CheckedChanged(object sender, EventArgs e, TreeListColumn column) { trlPermission.PostEditor(); TreeListNode node = trlPermission.FocusedNode; TreeListChangeChildNodesOperation operation = new TreeListChangeChildNodesOperation(column, node, (sender as CheckEdit).Checked); trlPermission.NodesIterator.DoOperation(operation); }
private void repositoryItemCheckEdit1_CheckedChanged(object sender, System.EventArgs e) { treeList1.PostEditor(); TreeListNode node = treeList1.FocusedNode; TreeListChangeChildNodesOperation op = new TreeListChangeChildNodesOperation(treeListColumn1, node, (sender as DevExpress.XtraEditors.CheckEdit).Checked); treeList1.NodesIterator.DoOperation(op); }