NtTimeChartControl.SetNtApplication Method

This property sets or gets the NtApplication interface for the NtTimeChartControl.
When intializing your Time Chart, you will provide an object that implements this interface. This object can be your form class e.g., if it implements the NtApplication interface. Or you implement a speical class for this purpose.
The NtTimeChartControl then calls the interface's member methods to retrieve information like if a certain date is a holiday or to get tool tip texts for data objects. This means that you implement the appropriate member functions and thereby provide the information needed.

Overload List:

Modifier / Return Value Name and Parameters Description

public void

SetNtApplication( NtApplication ntApplication)

Sets the NtApplication interface.

Return value:

none

Parameters:

NtApplication ntApplication
This is parameter references your implementation of the NtApplication interface. It is common to implement this interface in your Form class or create a class type on its own.

Remarks:

It is recommended but not mandatory to define an implementation for this interface.
When passing null as a parameter, a default implementation will be used.

See also:

NtApplication