Ejemplo n.º 1
0
        private void toolStripMenuItem6_Click(object sender, EventArgs e)
        {
            if (this.treeList1.Selection.Count == 0)
            {
                return;
            }
            DataRow row = ((DataRowView)this.treeList1.GetDataRecordByNode(this.treeList1.Selection[0])).Row;

            foreach (DataRow dataRow in AtTreeList.GetListNodesRows(this.treeList1, this.treeList1.FocusedNode))
            {
                dataRow.Delete();
            }
        }