在Winform中能通过Controls遍历每个控件,但Component就没有,请问如何遍历每个Component?谢谢!
------解决方案--------------------------------------------------------
foreach(System.ComponentModel.Component com in this.components.Components)
{
If(com is Timer)
{
Console.WriteLine( "Is Timer ");
}
}