C# Класс Air_Hockey_Simulator.AirHockeySimCtrl

Наследование: System.Windows.Forms.UserControl
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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