C# Tutorial - Create a number guessing game in Windows Form Application and Visual Studio

Поделиться
HTML-код
  • Опубликовано: 8 фев 2025
  • Source Code - www.mooict.com...
    In this tutorial we will explore how to properly work with the components such as labels, buttons and text boxes inside of windows form applications and how they communicate with the c# programming code in the background. This will be a building block application for beginners who want to learn how to make simple and fun applications inside of visual studio while getting up to speed with some basics of programming.

Комментарии • 23

  • @VanessaGuadiana-t6z
    @VanessaGuadiana-t6z 11 месяцев назад +2

    Thank you so much! My professor is largely unhelpful. Helped me tremendously with my homework.

    • @mooict
      @mooict  11 месяцев назад

      I’m glad it helped ☺️

  • @1903Gaming
    @1903Gaming 10 месяцев назад +1

    Thanks from Türkiye. Once you start the application, it works without any problems.

    • @mooict
      @mooict  9 месяцев назад

      You are welcome 🙏

  • @kait1008
    @kait1008 2 года назад +1

    Truly one of the best videos I’ve ever watched as far as instructional on c#. I was crying at my kitchen table trying to figure this out (networking major who HAS to take at least 2 programming classes) and I found this and MY PROGRAM WORKS!! the only thing I wish was added would be a try-catch statement for this but still, AMAZING!! Thank you so much!!

    • @mooict
      @mooict  2 года назад +1

      This has to be the best comment I’ve received on this channel. Thank you 🙏. Keep on coding friend

  • @noahyannis2465
    @noahyannis2465 3 года назад +2

    Thanks for the awesome tutorials. I recently started learning how to program and your videos and blogs are really helping a lot!

  • @Nodegreegamer
    @Nodegreegamer 2 года назад +1

    Thanks a lot man!! U explain things so much better!!!

  • @DailydoseofRice
    @DailydoseofRice Год назад +1

    thank you so much you are amazing you made it fast and efficient❤‼️

    • @mooict
      @mooict  Год назад

      You’re welcome 😊

  • @junlee3
    @junlee3 3 года назад +6

    Did you get a new microphone? Love it!

    • @mooict
      @mooict  3 года назад +2

      Haha you noticed. Yes it's the new microphone. Thank you.

    • @cainsykes7099
      @cainsykes7099 3 года назад +1

      @@mooict what mic did You get moo ict

  • @englishworldassociation5711
    @englishworldassociation5711 Год назад +1

    thank you it was the best!!!!

  • @mirza9725
    @mirza9725 3 года назад +2

    This is good for maths!

  • @Jeffrey-uw8un
    @Jeffrey-uw8un 2 года назад +1

    Thx dude

  • @fikri9897
    @fikri9897 2 года назад

    AKU JUMPA. MANTAP

  • @MiledRizk
    @MiledRizk 3 года назад +3

    Hi, and thanks for your excellent tutorials. We can continue this tutorial by adding a keypress event for the textbox to make sure that it only allows numbers, and to allow the backspace to delete the input
    something like this:
    private void allowNumbersOnly(object sender, KeyPressEventArgs e)
    {
    if ((!char.IsNumber(e.KeyChar)) && (!char.IsControl(e.KeyChar)))
    {
    e.Handled = true;
    }
    }
    And, another protection from crashing is by putting all the code inside the checkNumber method inside an if statement that checks whether in input field is empty or not: if (txtEnterNumber.Text != "").....

    • @mooict
      @mooict  3 года назад +1

      That's a very neat solution 👍. Thanks

  • @cainsykes7099
    @cainsykes7099 3 года назад

    what mic did You get moo ict

    • @mooict
      @mooict  3 года назад

      I got the Tonor TC30 microphone

  • @KingOfGamingAws
    @KingOfGamingAws 3 года назад +1

    Hey could you please make a simulation type game. For example a football simulator, where you can put two teams against each other and then the program would simulate the result. This would be so helpful. If you want me to go into more detail then please let me know! I have subscribed too(with notifications) 😊👍🏼

  • @Willsrtgaming
    @Willsrtgaming 7 месяцев назад

    deasx