c# 语言 winform 项目中 control.parent 的使用 (原创)
摘要:
List<Control> controls = new List<Control>(); public Form2() { InitializeComponent(); controls.Clear(); foreach (Control ctrl in Form1.Controls) { controls.Add(ctrl); } foreach (Control ctrl in controls) { ctrl.parent = this; } ... 阅读全文
posted @ 2011-09-11 10:45 Shuke 阅读(1379) 评论(0) 推荐(0) 编辑