怎样将多个相同的控件放在一个数组中。
我这样写为什么会出错CStatic myStatic1,myStatic2;CArray <CStatic,CStatic> myArray;
myArray.Add(myStatic1);
myArray.Add(myStatic2);