Click here to Skip to main content
16,017,373 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hi,
i'm good with C++ and C#
i wanted to develop an application as a graduation project
this application should take as input a description of a form that includes buttons , text boxes, ...etc and other controls (let it be in a form of images)

and finally the application should auto generate C# code that simulate the needed forms.

the question is,
what fields,tools i need to search in and what questions i should ask in order to (auto generate) C# code that perform such tasks....

Thanks.
Posted
Updated 20-Sep-10 3:43am
v2
Comments
Lantei 20-Sep-10 9:39am    
I dont think this should be much of a problem to you if you say you are 'good to C++ and C#'..Research deeper and you'll strike gold..:)
MKilany 20-Sep-10 9:41am    
thanks

MKilany wrote:
wanted to develop an application as a graduation project
this application should take as input a description of a form that includes buttons , text boxes, ...etc and other controls (let it be in a form of images)

and finally the application should auto generate C# code that simulate the needed forms.


That's Visual Studio. Just change it's title and your application is ready. :rolleyes:
 
Share this answer
 
Really? You're writing a "graduation" project that you don't know how to write? Didn't you learn anything in class?

Part of developing an app is designing it. If you can't do that, you have no business calling yourself a developer.
 
Share this answer
 
v2
Comments
MKilany 20-Sep-10 9:26am    
actually we do not focus on technicals, only concepts but the tool or the language is not a problem , but only the idea is important , if you have a useful suggestion say it, otherwise........
CPallini 20-Sep-10 13:51pm    
Yes, ideas are important. We rely on you youngster for great ideas. :-)
:rose:
Mr.John Simmons is true.First analyze it and the you find out what you need.
"But Mr.John Simmons Isn't nicer to help him instead of...."
When i was at university my master said he was doing such a thing.
I remember he said he was looking for it at MSDN Forum and his Q/A is still in Microsoft web site.
I hope you find the answer.
Have a good time.
:rose:
 
Share this answer
 
Seems to me that you need to invent some really smart image processing code: able to see a (roughly) rectangular outline in a picture and figure out whether its a list box, a text box, a group box, the form itself (or its title bar), etc.

I guess you could require the users to put hints in the boxes ("text box", "list box", etc.). But now you need to do character recognition, too.

Actually, forms generally have labels, and such, don't they. So, you're going to need character recognition, too. Probably gotta be able to support handwriting recognition.

Of course, it would make a great Code Project article when you're done. Give it a whirl and let us know how it turns out.

Or .....

Just write the description of the form in XAML and, oh, that's what CPallini suggested.
 
Share this answer
 
v2
Comments
MKilany 21-Sep-10 20:03pm    
actually you got the whole story, thanks for your interest, i'll consider that...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900