I copied a form and code from one program to another in c# only it doesn’t work

Asked

Viewed 28 times

0

My program was giving directory error, so I created another project in Visual Studio, I copied and pasted the form and the code in it, only the code no longer corresponds to the form, you know if you have any reference problem, or if the problem is copying the form?

  • You copied the contents or the file?

  • Yes, have a reference problem, you must have left the files .Designer back. See this answer https://answall.com/a/135279/18246

  • Well, if the linked answer doesn’t answer your problem, let me know by the comments, but I’m sure that’s it.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.