protected void btnAddGroup_Click(object sender, ImageClickEventArgs e) { MacroDesignerGroup root = GetRootGroup(); root.StoreData(); MacroDesignerTree item = CurrentGroup.AddGroup(); AddGroup(item.IDPath); root.BuildDesigner(true); }