C# 클래스 NanoByte.Common.Controls.AngleControl

Allows the input of angles between 0 and 360 degrees by clicking in a circle.
상속: System.Windows.Forms.UserControl
파일 보기 프로젝트 열기: nano-byte/common 1 사용 예제들

공개 메소드들

메소드 설명
AngleControl ( ) : System

보호된 메소드들

메소드 설명
OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void

비공개 메소드들

메소드 설명
GetAngle ( Point p1, Point p2 ) : float

Calculates the angle of a vector pointing from p1 to p2.

UpdateAngle ( Point location ) : void

메소드 상세

AngleControl() 공개 메소드

public AngleControl ( ) : System
리턴 System

OnMouseDown() 보호된 메소드

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseMove() 보호된 메소드

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnPaint() 보호된 메소드

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void