Control FindControl(string controlName, Control fatherControl) { foreach (Control c in fatherControl.Controls) { if (c.Name == controlName) { return c; } } return null; }
winform的FindControl
最新推荐文章于 2023-12-16 03:06:41 发布
Control FindControl(string controlName, Control fatherControl) { foreach (Control c in fatherControl.Controls) { if (c.Name == controlName) { return c; } } return null; }
1万+

被折叠的 条评论
为什么被折叠?