Thread scroll bar C #

Source: Internet
Author: User

:
Http://p.blog.csdn.net/images/p_blog_csdn_net/kevery_net/405371/o_ec123.JPG

 

Example: http://download.csdn.net/source/480743

 

Just write a few words: kevery

Language used: C #. net2003

Instructions for use:
1. In the form toolbox, add the control, browse> Add this file to the control box "schedule. dll ",

Or add this file to add reference.

There are three classes in this file:
Schedulemovecontrol> Control-type scroll bar. movable
Schedulecontrol> Control-type scroll bar. It cannot be moved.
Scheduleform> form-based scroll bar. movable

 

The three classes have the same method:
Startschedule (); >>> start to scroll
Endschedule (); >>> end scroll

Display information property: showtext

Test code:

Schedulecontrol1.showtext = "control-style scrolling cannot be moved ";
Schedulecontrol1.startschedule ();

Schedulemovecontrol1.showtext = "control-style scroll movable ";
Schedulemovecontrol1.startschedule ();

Kevery. scheduleform KSF = new kevery. scheduleform ();
KSF. showtext = "form-based scrolling 1234567890123456789abcdefg0123456789 ";
KSF. startschedule ();

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.