"Does not exist in the current context " error while using the script component for Windows form usage

My scenario is like, disabling the windows form button after some process thus I wants to use script component to write a program and integrate with windows form, PFA screenshots.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.


Keep up to date on this post and subscribe to comments

August 17, 2018 - 5:22am

where u defined button2 ? 

August 17, 2018 - 9:27am
Response to Gayatri

In Windows form I have button2 component, I have not defined anything in script