TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
joy.simpson
NA
228
0
How can I copy a form from VB to C#?
Dec 8 2003 3:47 PM
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.
Reply
Answers (
0
)
need help in creating templates
Well, I know what causes this now.. PLEASE HELP