关于textbox或者RichTextBox控件自动滚动到最下方的效率问题 我用的是广为流传的selectlength和scrollTocaret这种方法,但是实时更新数据时候,当数据到达几百行的时候,就明显看到闪烁的更新过程,当数据量加大,数据发送频繁时候,快把我的程序给更新死了....请问有没有更有效率的方法?大家讨论下.... 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我感觉应该还有另外一种方法来实现,自动滚动到最下方,//获取滚动条位置 [DllImport("user32")] public static extern int GetScrollPos(IntPtr hwnd, int nBar); //设置滚动条位置 [DllImport("user32.dll")] static extern int SetScrollPos(IntPtr hWnd, int nBar, int nPos, bool bRedraw); WPF的用户控件如何访问主窗体的控件?求高手! 找不到服务器,无法访问 以smallint类字段为条件查询出错 我的水晶报表怎么突然不能打印了 请问如何利用正则表达式验证文本是否合法 把“动态代理类”注册成Remoting服务,客户端调用时失败----->100分求解 我总觉得 .NET 做的东西操作很不爽 POST base64到webservice出错。。。。。 高手請進>>>>>>>>>有哪位朋友對DataSet有深入的了解 C/S结构数据库程序的设计 在combobox 里面添加两列数据 C# winform decimal 输入负数时出错
[DllImport("user32")]
public static extern int GetScrollPos(IntPtr hwnd, int nBar); //设置滚动条位置
[DllImport("user32.dll")]
static extern int SetScrollPos(IntPtr hWnd, int nBar, int nPos, bool bRedraw);