((Button)P.Controls["GNDG210"]).ForeColor = Color.Green;这段指令如何用OvalShape控件实现呢?
(OvalShape)p.compents['名称']
你的不是组件吗?
groups?
这是错误提示