Hello @carlos adolfo yañez gutierrez,
Welcome to Microsoft Q&A forum.
Please kindly edit your question into English, so that we can better help you:)
Did you modify something(like changing default InitializeComponent( )
) or remove some default files(like .Designer.cs file) by mistake?
Try to create a new project, match the files and the default code, see if some code was added wrongly.
If it still doesn’t work, please share us some code snippets/screenshots and tell us what you have changed(in the project) to check further.
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.