C# Class Gears.GearDrawing

Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: jwatte/gears Class Usage Examples

Méthodes publiques

Méthode Description
GearDrawing ( ) : System
calcGears ( GearInfo info ) : Gears.GearCalc[]
recalc ( ) : void
setInfo ( GearInfo info ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnPaint ( PaintEventArgs e ) : void

Private Methods

Méthode Description
DrawGearOutline ( Graphics g, PointF center, float scale, float radius, float baseRadius, float addendum, float dedendum, int numTeeth, float toothPhase ) : void
GearDrawing_SizeChanged ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

timer1_Tick ( object sender, EventArgs e ) : void

Method Details

Dispose() protected méthode

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

GearDrawing() public méthode

public GearDrawing ( ) : System
Résultat System

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

calcGears() public static méthode

public static calcGears ( GearInfo info ) : Gears.GearCalc[]
info GearInfo
Résultat Gears.GearCalc[]

recalc() public méthode

public recalc ( ) : void
Résultat void

setInfo() public méthode

public setInfo ( GearInfo info ) : void
info GearInfo
Résultat void