C# Class TouchScroll, code

Pass the panel into constructor and the control will be turned into a touch scrollable control.
ファイルを表示 Open project: shendongnian/code

Public Methods

Method Description
TouchScroll ( Panel, panel ) : System,

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

Private Methods

Method Description
AssignEvents ( Control, control ) : void
MouseDown ( object sender, MouseEventArgs, e ) : void
MouseMove ( object sender, MouseEventArgs, e ) : void

Method Details

TouchScroll() public method

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
return System,