C# 클래스 TouchScroll, code

Pass the panel into constructor and the control will be turned into a touch scrollable control.
파일 보기 프로젝트 열기: shendongnian/code

공개 메소드들

메소드 설명
TouchScroll ( Panel, panel ) : System,

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

비공개 메소드들

메소드 설명
AssignEvents ( Control, control ) : void
MouseDown ( object sender, MouseEventArgs, e ) : void
MouseMove ( object sender, MouseEventArgs, e ) : void

메소드 상세

TouchScroll() 공개 메소드

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
리턴 System,