You're trying to access the control from the constructor. The control tree has not been created at that point.
The absolute earliest point you can access the controls is after the base
FrameworkInitialize
method has been invoked:
protected override void FrameworkInitialize()
{
base.FrameworkInitialize();
}
This typically happens just before the
Init
event, so that's usually the best place for this sort of code.