C# 01: Update UI control from background thread in WPF with Dispatcher

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 37

  • @adamrohde3513
    @adamrohde3513 4 роки тому +3

    It pays to pick the 20 minute video instead of the 5 minute video... You actually learn something! This was a great video and was very helpful for a project I'm working on. Thank you!

  • @bl3df0rdays
    @bl3df0rdays 2 роки тому

    Excellent video. I like your explanations, thank you so much!

  • @maksa83
    @maksa83 4 роки тому +2

    Thanks a lot buddy, great video! Keep up the great work!
    I liked the background music as well - very calm and non-intervening.

  • @ORagnar
    @ORagnar 2 роки тому

    This was superb! Getting down to the essence of things really clarifies. Thanks!
    3/11/22, 10:11 a.m.

  • @StarLakeFarm
    @StarLakeFarm 3 роки тому +2

    awesome tutorial. Excellent music selection.

  • @azgan123
    @azgan123 3 роки тому

    More Chinese tutorials! I had no idea they could be this fun!

  • @GachiBasster
    @GachiBasster 2 роки тому

    Thank you, that's really helpful video!

  • @puntoycoma47
    @puntoycoma47 3 роки тому

    Leo, this tutorial is wonderfully made, and you choice of background music is just perfect. Maybe some Bach on another videos can be even better.
    Thank you!

  • @mariomorazan9473
    @mariomorazan9473 4 роки тому +1

    This helped me a lot keep making videos on async programming

  • @ohadcohen2
    @ohadcohen2 2 роки тому

    Very good tutorial. Thanks' a lot.

  • @ivanmilovac9482
    @ivanmilovac9482 2 роки тому

    Hi Leo, what in the case if we have background worker in separate class, how can I access to WPF control in this case?

  • @dcsflighttraining3333
    @dcsflighttraining3333 4 роки тому +1

    This is an AWESOME tutorial!!! (albeit with h̶o̶r̶r̶i̶b̶l̶e̶ ... uhhh.... "polarizing" background music :-) Thanks!

    • @puntoycoma47
      @puntoycoma47 3 роки тому

      You have to be a soulless pos to dislike such music.

    • @dcsflighttraining3333
      @dcsflighttraining3333 3 роки тому

      @@puntoycoma47 :-D That's OK :-D Maybe I am soulless indeed. I did correct myself though, not to leave a horrible,... uhhh... "polarizing" comment :-D. We do agree that the tutorial is very helpful :-)

  • @GAGANDEEP901
    @GAGANDEEP901 2 роки тому

    on click of button i call Dispatcher.BeginInvoke() and can change the background color one time, but when i use an infinite while loop so that it can keep changing color on its own(like in this video), my UI hangs , did anyone face this issue ? can anyone help me?

  • @unbreakable_song
    @unbreakable_song 3 роки тому

    Thank you ,Well explained!
    Plz create more video on c#.

  • @InModularProgress
    @InModularProgress 4 роки тому +2

    Thank you, very well explained!

  • @se4350
    @se4350 5 років тому +3

    Your tutorial saved me! thanks!

  • @mcjatek6580
    @mcjatek6580 4 роки тому

    hello, how can i change label content by click button in main window or if message is recived (mqtt) if label is in other window ?

  • @MyAutist
    @MyAutist 4 роки тому +2

    Franz Schubert, Op. 94...

  • @colmanian
    @colmanian 3 роки тому

    Very clear explanation, thanks!

  • @hi5ash
    @hi5ash 4 роки тому

    Does this work on BitmapSource too?

    • @LiLeoWang
      @LiLeoWang  4 роки тому

      Yes, I think so. Swap the name of the image from background thread.

  • @MyAutist
    @MyAutist 4 роки тому +1

    Thanx for your video, man! Hi for Russia!
    And, by the way, the background piano music is fantastic! What is it?

  • @mcdonamw
    @mcdonamw 2 роки тому

    Great video for a newb like me.

  • @asketss
    @asketss 3 роки тому

    thanks for your help

  • @Jordie389
    @Jordie389 4 роки тому

    Cheers mate. Helped a lot.

  • @massofyanhadi
    @massofyanhadi 4 роки тому

    Thank you..it's very help full

  • @captainducko6465
    @captainducko6465 2 роки тому

    Very clear and useful. Do you have any paid courses? For example on udemy? I would pay to listen to your course, you're a very good instructor.

    • @LiLeoWang
      @LiLeoWang  2 роки тому +1

      Thanks for your kind words!

    • @mcdonamw
      @mcdonamw 2 роки тому

      I second this. I would pay for your courses. This is one of the best explained videos I've ever seen.

  • @abdelaiztlemcen7851
    @abdelaiztlemcen7851 3 роки тому

    thunk you

  • @ArjunaWeerasinghe
    @ArjunaWeerasinghe 2 роки тому

    great!

  • @hadirotafoua5381
    @hadirotafoua5381 4 роки тому

    cool bro

  • @mitaapka
    @mitaapka 5 років тому +1

    really nice tutorial. only remove the music from background.

    • @LiLeoWang
      @LiLeoWang  5 років тому

      Thanks for your suggestion!