11 2021 档案
摘要:DataGridView 输出列表,经常会用到滚动条。 在重新加载列表后,如果还要定位到上一次滚动条所在的位置,那下面的方法就能实现, 1 给DataGridView 绑定Scroll 事件。 2 Scroll 事件要做的事,分别记录滚动条移动位置的数值。 用 e.ScrollOrientation
阅读全文
摘要:https://www.cnblogs.com/zhaoshujie/p/11192036.html 前言 Talk is cheap, Show you the code first! private void button1_Click(object sender, EventArgs e) {
阅读全文
摘要:https://www.cnblogs.com/qiren5761/archive/2010/01/22/1654496.html 感谢大哥 using System;using System.Collections.Generic;using System.Linq;using System.Te
阅读全文