[Guide] How to Create a Graphic User Interface (GUI)

07/08/2011 00:45 Spirited#16
Quote:
Originally Posted by S/W View Post
Yes
Download the example.
You probably skipped a step.
07/08/2011 00:54 BaussHacker#17
At step 5, you can just set Enabled = true and it will start by it self.
07/08/2011 00:55 S/W#18
Downloaded and checked
07/08/2011 01:13 Spirited#19
Quote:
Originally Posted by BaussHacker View Post
At step 5, you can just set Enabled = true and it will start by it self.
Yah, but it's kinda useless unless the entire GUI is loaded.

Quote:
Originally Posted by S/W View Post
Downloaded and checked
Idk what to tell you. You must not of followed the guide correctly.
07/08/2011 07:10 BaussHacker#20
Quote:
Originally Posted by Fаng View Post
Yah, but it's kinda useless unless the entire GUI is loaded.
It doesn't matter, if you do that or the other part. Only that it's easier.
07/08/2011 07:17 Spirited#21
Quote:
Originally Posted by BaussHacker View Post
It doesn't matter, if you do that or the other part. Only that it's easier.
It's really just about preference and the use of the timer. In this case, I have it separate because the print line method is useless unless the GUI is loaded. If you want to code one like that, that's your preference- this guide is just a bunch of examples that I threw together.
07/08/2011 07:30 BaussHacker#22
Quote:
Originally Posted by Fаng View Post
It's really just about preference and the use of the timer. In this case, I have it separate because the print line method is useless unless the GUI is loaded. If you want to code one like that, that's your preference- this guide is just a bunch of examples that I threw together.
It won't start, before the GUI is initialized anyways. Unless you're loading a lot things for your GUI. And yea, I just said it could be used as well. Lazyness ftw.
07/08/2011 08:07 Spirited#23
Quote:
Originally Posted by BaussHacker View Post
It won't start, before the GUI is initialized anyways. Unless you're loading a lot things for your GUI. And yea, I just said it could be used as well. Lazyness ftw.
I've experienced problems doing it your way- that's why I started doing it the way I showed in the thread. It's just safer. There are more appropriate times to do it in your way- but if you don't want to lose your heading from time to time (when your gui gets more advanced), you should try my way of doing it.
07/08/2011 09:07 S/W#24
Quote:
Originally Posted by Fаng View Post


Idk what to tell you. You must not of followed the guide correctly.
Here is My Program.cs (I am downoadet trinyti source now to check)


I made all like in guide still no text in console :(
07/08/2011 09:12 Spirited#25
Quote:
Originally Posted by S/W View Post
Here is My Program.cs (I am downoadet trinyti source now to check)


Here Output.cs


I made all like in guide still no text in console :(
Your server isn't loading.
You didn't read this comment:

// This is an example. Do not replace your
// entire Main void with this... duh.

You commented the NoCrash GUI which executes the server.

PS: Can you please use spoilers... nobody wants to scroll through that wall of text. =|
Code:
[ spoiler]
wall of text
[ /spoiler]
07/08/2011 09:14 S/W#26
Quote:
Originally Posted by Fаng View Post
Your server isn't loading.
You didn't read this comment:

// This is an example. Do not replace your
// entire Main void with this... duh.

You commented the NoCrash GUI which executes the server.
I connect to server and can walk jump etc but no any text in console.....
07/08/2011 09:20 Spirited#27
Quote:
Originally Posted by S/W View Post
I connect to server and can walk jump etc but no any text in console.....
That's impossible given the wall of text you posted. The main thread doesn't contain anything but my example with the commented code that starts your server.
07/08/2011 09:22 S/W#28
#fixed
07/08/2011 09:36 Spirited#29
Quote:
Originally Posted by S/W View Post
#fixed
Awesome! =]
Can I see a picture?
07/08/2011 09:38 zTek#30
Couldn't you just call the main() void in that certain void.

Program.Main();

Then it will load everything like the console does?