InvokeRequired property missing in VS2017/2017

453 Views Asked by At

I'm creating a Windows Forms program and in VS2017/2019, the intellisense doesn't prompt InvokeRequired property for no matter TextBox control or the form itself.

When compiling, the error:'InvokeRequired' is not a member of Textbox was generated by compiler.

When navigate in Object Browser, Control class has the InvokeRequired property defined and TextBoxBase inherits Control, then TextBox inherits TextBoxBase. So TextBox supposed to have this property.

Does anyone has a clue on this issue?

0

There are 0 best solutions below