954,178 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Creating a GUI using C#

What kinda appoch would people here take for tacking a gui on an already existant console program.

Paul.Esson
Junior Poster
181 posts since Feb 2005
Reputation Points: 21
Solved Threads: 10
 

What do you mean? I would just open up something like Visual Studio .NET and start with what I normally call "MainForm" which is the main GUI, then create the main functionality on there and create a main menu with all the different things the user can do, then go down that list implementing them one at a time...

Iron_Cross
Junior Poster
117 posts since Jul 2003
Reputation Points: 46
Solved Threads: 2
 

I was more looking for different approches people have used.

They way I ended up doing it wasn't very nice.

But I was thinking more like perhaps using a factory design pattern, but the real problem with something like that is the way my initial console application was created. The console UI created all the object as opposed to a say Runner class constructing the console UI and deligates being used to pass messages. Really when I look back this would have been the best way todo things, but sadly this wasn't how things where done.

Paul.Esson
Junior Poster
181 posts since Feb 2005
Reputation Points: 21
Solved Threads: 10
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You