How can I copy a form from VB to C#?
I'm teaching a combination VB and C#.NET college course. I've been creating side-by-side programs in both languages, with the identical output. Up until a couple of weeks ago, all my demo programs have been Console Applications. I usually write the program in VB first, then copy and paste the code to a C# code window and translate it there.
Now we've started using Windows forms. Is there any way I can copy and paste the form itself from VB to C# so I don't have to recreate the form with its controls (and property settings) from scratch? I discovered that I can copy a VB form file from one project to another, which facilitates copying an entire project to a new one by a different name. But I don't think this will work very well copying the entire file to C#, as much of the predefined code is a lot different.
I'd appreciate any help. It would be a tremendous timesaver. Thanks in advance.