Commit d41eab59 HZH

修改子项一个bug

1 个父辈 017189bd
......@@ -216,7 +216,7 @@ namespace HZH_Controls.Controls
m_panChildren.Controls.Add(c);
m_panChildren.Controls.SetChildIndex(c, 0);
}
m_panChildren.MinimumSize = new Size(0, menuitem.DataSource.Childrens.Count * intItemHeigth);
//m_panChildren.MinimumSize = new Size(0, menuitem.DataSource.Childrens.Count * intItemHeigth);
}
else
{
......
......@@ -87,6 +87,7 @@ namespace Test
}
lstMenu.Add(item);
}
this.ucMenu1.ChildrenItemStyles = new Dictionary<string, object>() { {"BackColor",Color.Yellow } };
this.ucMenu1.DataSource = lstMenu;
}
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!