The constructor.
Constructs a CBCGPDurationCtrl object. The constructor performs a default initialization. You can change display by calling method SetState().