C# Gui

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
Dreeb
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 26
Joined: Sun Oct 25, 2009 8:00 pm

C# Gui

Post by Dreeb »

Hey, guys.
I read the book "C# Primer plus" and I was wondering: how do i create applications that have buttons and stuff instead of just having a console thing? I know there is the buttons and stuff for the visual basic compiler, but is there a more professinal/hard-core way to do it? If so, are there any books on it? Because when i get good i want to make a level editor in c# like maurader.
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: C# Gui

Post by dandymcgee »

C# is similar to visual basic in that you create GUI applications using the drag & drop form designer in Microsoft's Visual C# IDE. As far as professional, Visual Basic is used for commercial development all the time. And if by "hardcore" you mean writing a GUI from scratch in C++ for instance, you'd probably want to look into Win32 programming for Windows or an equivalent alternative for any other operating system. Doing it that way is very tedious and is usually avoided if at all possible.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
ismetteren
Chaos Rift Junior
Chaos Rift Junior
Posts: 276
Joined: Mon Jul 21, 2008 4:13 pm

Re: C# Gui

Post by ismetteren »

Im sure you can manually write the GUI code in C# as well, but there is no reason to do it.
Image ImageImage Image
Dreeb
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 26
Joined: Sun Oct 25, 2009 8:00 pm

Re: C# Gui

Post by Dreeb »

That didn't answer my question.
Could I create a level editor with the visual basic forms?
Are there any books on it?
And marauder or gyro, if you are reading this, did you (guys) use the visual basic forms for your level editor?
Because i find that lacks win32 stuff and lots of people tend to go over to C# but then i get pushed back to C++.
andrew
Chaos Rift Regular
Chaos Rift Regular
Posts: 121
Joined: Mon Dec 08, 2008 2:12 pm

Re: C# Gui

Post by andrew »

To make a level editor you need:

1) access to the screen to display things
2) access to the disk to read and write files
3) some input from the keyboard or mouse

You could make a level editor all in text. It really doesn't matter too much what language you use to write your level editor.
Post Reply