C# 클래스 Air_Hockey_Simulator.AirHockeySimCtrl

상속: System.Windows.Forms.UserControl
파일 보기 프로젝트 열기: CallumJHays/AirHockeyRobot

공개 프로퍼티들

프로퍼티 타입 설명
tm MicroTimer

공개 메소드들

메소드 설명
AirHockeySimCtrl ( ) : System
DrawArc ( Graphics g, Arc a, Pen p ) : void
DrawLine ( Graphics g, Line l, Pen p ) : void
Init ( ) : void
OnUpdated ( ) : void
SetupGraphics ( Graphics g, string detail ) : void
getFromInt ( int i ) : Pen
s ( double input ) : float
si ( double input ) : int

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnPaint ( PaintEventArgs e ) : void

비공개 메소드들

메소드 설명
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Tm_MicroTimerElapsed ( object sender, MicroTimerEventArgs timerEventArgs ) : void
getPuckRectangle ( Puck p ) : RectangleF

메소드 상세

AirHockeySimCtrl() 공개 메소드

public AirHockeySimCtrl ( ) : System
리턴 System

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

DrawArc() 공개 메소드

public DrawArc ( Graphics g, Arc a, Pen p ) : void
g System.Drawing.Graphics
a Arc
p System.Drawing.Pen
리턴 void

DrawLine() 공개 메소드

public DrawLine ( Graphics g, Line l, Pen p ) : void
g System.Drawing.Graphics
l Line
p System.Drawing.Pen
리턴 void

Init() 공개 메소드

public Init ( ) : void
리턴 void

OnPaint() 보호된 메소드

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

OnUpdated() 공개 메소드

public OnUpdated ( ) : void
리턴 void

SetupGraphics() 공개 메소드

public SetupGraphics ( Graphics g, string detail ) : void
g System.Drawing.Graphics
detail string
리턴 void

getFromInt() 공개 메소드

public getFromInt ( int i ) : Pen
i int
리턴 System.Drawing.Pen

s() 공개 메소드

public s ( double input ) : float
input double
리턴 float

si() 공개 메소드

public si ( double input ) : int
input double
리턴 int

프로퍼티 상세

tm 공개적으로 프로퍼티

public MicroTimer,Air_Hockey_Simulator tm
리턴 MicroTimer