private void addGroup_Click(object sender, EventArgs e) { int gind = dt.Count; grpchng = dt.Count; GroupInfo gr = new GroupInfo(textBox5.Text); dt = rcv.Do(new AddGroupCommand(gr, gind), dt); UpdateTree(); }