摘要: 一、滚动条基本样式 本次修改Scrollview及ScrollBar滚动条样式是通过纯样式实现的。修改的内容包含滚动条的颜色,上下按钮的隐藏。另外添加了鼠标经过滚动条动画。 style样式如下: 修改之后的滚动条是影响全局的。 样式应用之后的效果如下: 引用示例: 以上转自http://www.cn 阅读全文
posted @ 2018-12-27 15:40 枯腾老树 阅读(519) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Drawing; 6 using System.Drawing.Drawing2D; 7 using System.Windows.Forms; 8 using S... 阅读全文
posted @ 2016-11-14 10:19 枯腾老树 阅读(3034) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 5 无标题文档 6 61 62 63 64 65 66 阅读全文
posted @ 2015-09-10 10:12 枯腾老树 阅读(413) 评论(0) 推荐(0) 编辑
摘要: private void Form1_Load(object sender, EventArgs e) { Button[] but = new Button[10]; for (int i = 0; i < 10; i... 阅读全文
posted @ 2015-07-17 15:12 枯腾老树 阅读(964) 评论(0) 推荐(0) 编辑
摘要: 整数型类型别名允许的值sbyteSystem.SByte-128~127byteSystem.Byte0~255shortSystem.Int16-32,768~32,767ushortSystem.UInt160~65,535intSystem.Int32-2,147,483,648~2,147,... 阅读全文
posted @ 2015-05-08 15:21 枯腾老树 阅读(222) 评论(0) 推荐(0) 编辑