Konstruktori.

Namespace: UIControls
Assembly: UIControls (in UIControls.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public UIController(
	Window owner,
	Settings gameSettings,
	InputBox input,
	DisplayBox display,
	Clock clock,
	Label cpmCounter
)
Visual Basic
Public Sub New ( _
	owner As Window, _
	gameSettings As Settings, _
	input As InputBox, _
	display As DisplayBox, _
	clock As Clock, _
	cpmCounter As Label _
)
Visual C++
public:
UIController(
	Window^ owner, 
	Settings^ gameSettings, 
	InputBox^ input, 
	DisplayBox^ display, 
	Clock^ clock, 
	Label^ cpmCounter
)

Parameters

owner
Type: System.Windows..::..Window
Controllerin omistava ikkuna.
gameSettings
Type: GameControls..::..Settings
Pelin asetukset.
input
Type: UIControls..::..InputBox
InputBox, johon sanat kirjoitetaan.
display
Type: UIControls..::..DisplayBox
DisplayBox, jossa tekstin eteneminen näytetään.
clock
Type: UIControls..::..Clock
Pelikello.
cpmCounter
Type: System.Windows.Controls..::..Label
Nopeuslaskuri.

See Also