C# Class TouchScroll, code

Pass the panel into constructor and the control will be turned into a touch scrollable control.
Afficher le fichier Open project: shendongnian/code

Méthodes publiques

Méthode Description
TouchScroll ( Panel, panel ) : System,

pass in the panel you would like to be touch scrollable and it will be handled here.

Private Methods

Méthode Description
AssignEvents ( Control, control ) : void
MouseDown ( object sender, MouseEventArgs, e ) : void
MouseMove ( object sender, MouseEventArgs, e ) : void

Method Details

TouchScroll() public méthode

pass in the panel you would like to be touch scrollable and it will be handled here.
public TouchScroll ( Panel, panel ) : System,
panel Panel, The root panel you need to scroll with
Résultat System,