Pass data between two forms in C#

Поделиться
HTML-код
  • Опубликовано: 18 янв 2025

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

  • @thangdo21
    @thangdo21 2 месяца назад

    Good instructor and easy to understand ......

  • @armuc6941
    @armuc6941 2 года назад +2

    thanks, how can i to passe data between forms to usercontrol

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

    It was.............................................................Wait for it..................................Wait for it ........................ LEGENDARY!!

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

    Thank You very much Sir Sluiter.

  • @ОстапБендера-м8с
    @ОстапБендера-м8с 10 месяцев назад

    It's a kind of magic! The best tutorial I've ever seen! A lot of new interesting stuff for me and nothing redundant.

  • @FilipCodes
    @FilipCodes 3 года назад +4

    Great. Very helpful. Keep up the good work ✌

  • @Hamza-Shreef
    @Hamza-Shreef 2 года назад

    22:10
    It really saved me a lot of time .
    thanks man!

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

    අම්මෝ නිය්මය්, (wow nise)
    පට්ටම ආසාවෙන් බලනව සර්, (I looked forward to it)

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

    You saved my life professor, quite literally

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

    Thank you professor, from Portugal! Excellent Lesson.

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

    Great Tutorial prof!

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

    Hello professor and thank you for this lesson. My question is : can we also edit this added fields?

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

    You are the best professor!!! Thank you so much! Topics are well explained!!!

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

    Better than colleges

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

    Is it best practice to initialize a new instance of the parent form everytime the button on the child form is clicked in order to pass the value? What if I can't use static list to store the data?

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

    Thank you professor Sluiter! Great tutorial!

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

    Hi Professor Sluiter. Thanks for this nice instruction. I like your video's a lot. By the way you didn't discuss update in you video.

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

    Excellent!

  • @semnal.m2581
    @semnal.m2581 3 года назад +2

    Excellent explained professor! Thanks.
    I have a question: let's say I have an open Color dialog. How can I transfer the chosen color immediately (in real time) to my drawing without clicking OK and closing the dialog?

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

      I believe the pre-defined color picker dialog box only works with the OK button. You could, however, put a color picker control on a form associate a click event with a color picker.

  • @romanagr
    @romanagr 6 месяцев назад

    What a pleasant guy! 😁

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

    Thank you so much.
    Peace from Algeria.

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

      Welcome to class. Hope you succeed in your learning.

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

      @@shadsluiter Thanks, I am just a C Sharp enthusiast. I really appreciate your work, I can't imagine how hard it provide this great content.
      Thank you so much,
      May God bless you.

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

    god bless you for this lesson!!!

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

      Thank you for your vote of confidence.

  • @SMTube2024
    @SMTube2024 6 месяцев назад

    You Are a Good Proffesor Coding! i will sub to you

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

    wonderful vid !
    I have a q.
    What if I want to load the list that had been added and show the list every time reopen the form

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

    how about sending subform to subform . example form3 to form6 or vice versa.

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

    Thanks

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

    Thanks a lot Shad Sluiter.
    I request you to please do the video related to BindingSource current DataRow is dirty or not.
    Thanks in advance 😀

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

    Hi! this tutorial helped so much but I've one question.
    Do i use the same process for sending multiple data entries from the user (I'm building an appointment booking system for a hospital) do i just use the '+' to concatenate all that the user would enter? how would it work/display
    I'd really appreciate if you replied.

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

    I have an object and when that object is selected i want to pass the Id property of the object to the Button. I can pass the item, but i'm not sure how to get the Id property from it, can you help with this?

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

      Research the Tag property of button. You can store any time of data in the tag, including the id number of an object.

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

    hey , thanks for this tutorial i want to ask how can i remove all the items from the list box i tried ListBox1.Items.clear() but it didnt work

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

      Clear may be working. However, the listbox may be bound to the list of data which automatically refills the listbox. Remove all items from the list and you should get an empyt listbox.

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

    Great! Super!

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

    I get the same behaviore with ShowDialog() and Show() , .NET 7 here :(