HeroStats Libraries
StatsEngine Constructor (Control)

[This is preliminary documentation and subject to change.]

Creates a new instance of this object. Used for WinForms applications.

[Visual Basic]
Overloads Public Sub New( _
   ByVal uiElement As Control _
)
[C#]
public StatsEngine(
   Control uiElement
);

Parameters

uiElement
A Control object to use for thread synchronization

Remarks

Note that many of the things done in a StatsEngine object are done in different threads. The uiElement parameter to the constructor gives the object a reference to which thread in the system is the UI thread, so that it can use that for correct context switching.

See Also

StatsEngine Class | HeroStats.StatsEngine Namespace | StatsEngine Constructor Overload List