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