摘要:
问题1、在更新完DataGridView之后如何让滚动条仍然在更新前的位置 答:用 FirstDisplayedScrollingRowIndex和FirstDisplayedScrollingColumnIndex两个属性,参见下面代码。 问题2、如果用户在一瞬间连续按快捷键进行更新,不应该响应每一个请求。在下面代码中我们用lastUpdateTime解决了问题。 Code ... 阅读全文
摘要:
控制面板 --> 管理工具 -->Microsoft .NET Framework 2.0 Configuration --> Runtion Security Policy --> 右键点击 --> Adjust Security --> Make changes to this computer --> 调节各个区域的权限为Full Trust 这又有些不安全了,那就自己试试应该如何细调... 阅读全文