'<constructor>' in designer-generated type '<type>' should call InitializeComponent method
A constructor in a designer-generated type does not call the type's InitializeComponent method.
Each constructor in a designer-generated type should call the type's InitializeComponent method.
Error ID: BC40054
To correct this error
- Add a call to the InitializeComponent method in the constructor.