.net - 如何实现多行文本框的花式滚动条?

标签 .net vb.net winforms scrollbar

我想为多行文本框实现一个精美的滚动条,如下图所示:

Standard scroll bar and fancy scroll bar

对于那个奇特的滚动条有什么想法吗?

P/S: 我想要 vb.net 解决方案。

最佳答案

这段代码非常笨重,使用起来令人沮丧,但它正在工作

This is a fully drawn GDI+ custom scrollbar control class. All of its drawing methods are overrideable, allowing developers to paint it however they choose.

http://www.codeproject.com/KB/miscctrl/corescrollbar.aspx

关于.net - 如何实现多行文本框的花式滚动条?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6163227/

相关文章:

c# - 部分修改 XML 序列化文档

c# - .NET 程序运行在任何 CPU 与 x86 上

vb.net - 在 VB.NET 中向集合添加结构

c# - Windows 窗体中的提示对话框

.NET 用固定空格格式化字符串

c# - 如何证明 .NET 类 Random 不适合生成密码?

确认脚本中的 Javascript IIF

.net - 了解 DataGrid 中的 ItemsSource 和 DataContext

winforms - "Enable the Visual Studio hosting"发布配置的进程编译选项

winforms - 寻找 DataGridView 控件无法绑定(bind)到分层 (OO) 数据的解决方法