摘要: 要实现RichTextBox内容的自滚动,首先要建立一个WPF Application 的工程,这里工程命名为FreeScroll。1.应用软件:VS20102. 程序完成的功能:2.1 在richtextBox中载入Xaml文件2.2 设置滚动速度2.3 滚动2.4 鼠标双击停止滚动3. 程序用到的控件:RichTextBox,Button,Label,TextBox4.程序的实现 4.1 控件布局WPF中布局好的控件图如下: 4.2 实现控件的响应函数代码Code highlighting produced by Actipro CodeHighlighter (freeware)h 阅读全文
posted @ 2010-12-03 14:29 绿茶叶 阅读(3601) 评论(0) 推荐(0) 编辑