[Tutorial #1]How to make a countdown program
Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
10 posts
Page 1 of 1
Hallo! This is my first tutorial but i am not really new because i am member for 1 year now.
This tutorial is about how to make a countdown program.
Lets start!
1)Make a new project, Windows Forms
2)Add:
4)make timer interval 1000, and put enabled on true
5)Code of timer_tick:
Thanks for reading!
This tutorial is about how to make a countdown program.
Lets start!
1)Make a new project, Windows Forms
2)Add:
- 1 label
- 1 timer
4)make timer interval 1000, and put enabled on true
5)Code of timer_tick:
Code: Select all
6) Debug the project, Tada!label1.text = label1.text - 1
Thanks for reading!

Last edited by teunissenstefan on Wed Jun 13, 2012 11:47 am, edited 1 time in total.
Half english, half german, cool...
DarkyKnife wrote:Half english, half german, cool...First of all: its dutch (yea I know since im dutch

teunissenstefan wrote:Hallo! This is my first tutorial but i am not really new because i am member for 1 year now.Hello,
This tutorial is about how to make a countdown program.
Lets start!
1)Make a new project, Windows Forms
2)Add:3)Verander de tekst van de label naar hoeveel seconden hij moet aftellen
- 1 label
- 1 timer
4)Zet de interval van timer op 1000 en zet hem op enabled = true
5)Code van timer_tick:Code: Select all6) Debug het project, Tada!label1.text = label1.text - 1
Bedankt voor het lezen
This is my first tutorial but i am not really new because I am a member for 1 year now. This tutorial we will make a countdown program.
Lets start:
1)Create new project (as a windows form project)
2)Add:
1 lablel, 1 timer
3) Chance the text of the leable to the amount of seconds the program has to count down from.
4)Put the interval of the timer on 1000 and enabled = true
5)Code for the timer_tick:
Code: Select all
6) Debug the project and ur done!label1.text = label1.text - 1
Thanks for reading!
So far my translation, just a quick note to stefan (which is in dutch and english coz I dont know if he understands me if I type it in english (no offense!)).
Stefan,
Zodra de timer onder 0 gaat krijg je waarschijnlijk een error, en in plaats van een label kun je ook een textbox gebruiken zodat de gebruiker zelf een interval kan invullen.
Stefan,
When the timers (actually the label) goes beneath 0 you are most likely to get an error. Despite the fact that you use a label now you could try and use a textbox for a more user-frendly usage.
Hope I helped both the reader and the creator with this

Practice makes perfect!
VIP since: 6-10-2011
VIP since: 6-10-2011
Clanc,
Thanks for translating that.
Stefan,
Nice for a first tutorial, well done! wahooo;
Thanks for translating that.
Stefan,
Nice for a first tutorial, well done! wahooo;
My name is Tom | Visit my blog where I post new content every day! Tom's Daily Blog | MineCraft is awesome!
DarkyKnife wrote:Half english, half german, cool...Oh that was a mistake, translated :P
clanc789 wrote:Stefan,Nope, werkt gwn
Zodra de timer onder 0 gaat krijg je waarschijnlijk een error, en in plaats van een label kun je ook een textbox gebruiken zodat de gebruiker zelf een interval kan invullen.
Stefan,
When the timers (actually the label) goes beneath 0 you are most likely to get an error. Despite the fact that you use a label now you could try and use a textbox for a more user-frendly usage.


And i was writing this tutorial while i was watching an hilarious video on YT. ANd when i return back to writing this i got confused
DarkyKnife wrote:Half english, half german, cool...that would be german:
Hallo! Dies ist mein erstes Tutorial, aber ich bin bereits Mitglied seit einem Jahr. Das Tutorial handelt davon, ein Countdown Programm zu erstellen.
Lasst uns beginnen!
1)Mach ein neues Projekt, Windows Forms-Anwendung
2)Fügt hinzu:
•1 label
•1 timer
3)Ändere den Text des labels zu dem Text, von dem es runterzählen soll
4)Setze das Intervall des Timers auf 1000, und setze enabled auf true
5)Code für das timer_tick Event:
Code: Select all
6) Teste das Projekt, Tada!label1.text = label1.text - 1
Danke für's lesen!
Actually this is a useless post, but currently I'm totally bored!!!!!
Nice lolxot
Anyone up for a translation from another native speaker? 


Practice makes perfect!
VIP since: 6-10-2011
VIP since: 6-10-2011
clanc789 wrote:Nice lolxotI'm in!Anyone up for a translation from another native speaker?
Ukrainian:
Code: Select all
Добрий день! Це моя перша інструкція, але я не новенький тому що я вже член сайту 1 рік.
Ця інструкція про те, як зробити зворотній відлік.
Розпочнемо!
1)Створіть новий проект, Форми Віндовс.
2)Додайте:
1 позначку
1 таймер
3)Змініть текст на позначці на кількість секунд до відліку
4)Зробіть інтервал таймеру 1000, і увімкніть його.
5)Код для timer_tick:
label1.text = label1.text - 1
6) Запустіть порект. Та-да!
Дякую за те, що прочитали!
Ffenixw0rks wrote:WOOT that is unreadable but so cool if you can speak it O.Oclanc789 wrote:Nice lolxotI'm in!Anyone up for a translation from another native speaker?
Ukrainian:Code: Select allДобрий день! Це моя перша інструкція, але я не новенький тому що я вже член сайту 1 рік. Ця інструкція про те, як зробити зворотній відлік. Розпочнемо! 1)Створіть новий проект, Форми Віндовс. 2)Додайте: 1 позначку 1 таймер 3)Змініть текст на позначці на кількість секунд до відліку 4)Зробіть інтервал таймеру 1000, і увімкніть його. 5)Код для timer_tick: label1.text = label1.text - 1 6) Запустіть порект. Та-да! Дякую за те, що прочитали!

Practice makes perfect!
VIP since: 6-10-2011
VIP since: 6-10-2011
10 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023