首页
论坛
新员额
搜索论坛
什么's new
新员额
新的个人资料帖子
最新活动
成员
目前的访客
新的个人资料帖子
搜索个人资料帖子
vb.net社区
登录
登记
什么's new
搜索
搜索
仅搜索标题
经过:
新员额
搜索论坛
Menu
Log in
Register
安装应用程序
安装
首页
论坛
C#
Windows形态
将主要形式拆分为较小的文件
您正在使用过期的浏览器。它可能无法正确显示此或其他网站。
您应该升级或使用
替代浏览器
.
回复主题
信息
<blockquote data-quote="Skydiver" data-source="post: 22121" data-attributes="member: 11639"><p>Yes, there are some logical reasons to do this, but usually it is when you are creating a new control from the ground up, not when you are writing a form -- unless the form doesn't follow the Single Responsibility Principle.</p><p></p><p>Anyway, check out the source code for the DataGridView control on <a href="//referencesource.microsoft.com">Reference Source</a> to see a control that has been split up into multiple files. As I recall, each file followed the SRP, but due to the constraints of WinForms, all that had to live within a single class.</p></blockquote><p></p>
Insert quotes…
确认
发表回复
首页
论坛
C#
Windows形态
将主要形式拆分为较小的文件
本网站使用cookie来帮助个性化内容,量身定制您的体验并随时登录,如果您注册。
继续使用本网站,您正在同意我们使用cookie。
接受
学到更多…
最佳
底部