Pass data between two forms in C#

  Рет қаралды 25,784

Programming w/ Professor Sluiter

Programming w/ Professor Sluiter

Күн бұрын

Пікірлер: 40
@armuc6941
@armuc6941 Жыл бұрын
thanks, how can i to passe data between forms to usercontrol
@atsizcapar
@atsizcapar 2 жыл бұрын
Better than colleges
@FilipCodes
@FilipCodes 3 жыл бұрын
Great. Very helpful. Keep up the good work ✌
@shadsluiter
@shadsluiter 2 жыл бұрын
Thanks 🙂
@Tlcunha81
@Tlcunha81 2 жыл бұрын
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?
@pako_tube6898
@pako_tube6898 2 жыл бұрын
Thank You very much Sir Sluiter.
@fhverberne
@fhverberne 2 жыл бұрын
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.
@semnal.m2581
@semnal.m2581 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 2 жыл бұрын
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.
@silviuslavitescu
@silviuslavitescu 7 ай бұрын
Hello professor and thank you for this lesson. My question is : can we also edit this added fields?
@SMTube2024
@SMTube2024 3 ай бұрын
You Are a Good Proffesor Coding! i will sub to you
@romanagr
@romanagr 2 ай бұрын
What a pleasant guy! 😁
@chappieghost2028
@chappieghost2028 3 жыл бұрын
අම්මෝ නිය්මය්, (wow nise) පට්ටම ආසාවෙන් බලනව සර්, (I looked forward to it)
@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 11 ай бұрын
Research the Tag property of button. You can store any time of data in the tag, including the id number of an object.
@jimsonjamesbringas
@jimsonjamesbringas Жыл бұрын
how about sending subform to subform . example form3 to form6 or vice versa.
@malikjavadov366
@malikjavadov366 2 жыл бұрын
It was.............................................................Wait for it..................................Wait for it ........................ LEGENDARY!!
@zoeetim7455
@zoeetim7455 Жыл бұрын
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.
@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 😀
@antoniomoco2606
@antoniomoco2606 2 жыл бұрын
Thank you professor, from Portugal! Excellent Lesson.
@aungmyokhaing8827
@aungmyokhaing8827 Жыл бұрын
Thanks
@milagrosalejandro1858
@milagrosalejandro1858 2 жыл бұрын
You are the best professor!!! Thank you so much! Topics are well explained!!!
@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
@emmanuelpaniagua8983
@emmanuelpaniagua8983 Жыл бұрын
god bless you for this lesson!!!
@shadsluiter
@shadsluiter 11 ай бұрын
Thank you for your vote of confidence.
@clinsen8576
@clinsen8576 Жыл бұрын
You saved my life professor, quite literally
@Hamza-Shreef
@Hamza-Shreef 2 жыл бұрын
22:10 It really saved me a lot of time . thanks man!
@Samikok
@Samikok 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.
@ReneKubicka
@ReneKubicka 2 жыл бұрын
Thank you professor Sluiter! Great tutorial!
@alarjdeek2389
@alarjdeek2389 Жыл бұрын
Great Tutorial prof!
@new_direction_net
@new_direction_net Жыл бұрын
Excellent!
@shadsluiter
@shadsluiter 11 ай бұрын
Glad you liked it.
@risinghead5820
@risinghead5820 3 жыл бұрын
Thank you so much. Peace from Algeria.
@shadsluiter
@shadsluiter 2 жыл бұрын
Welcome to class. Hope you succeed in your learning.
@risinghead5820
@risinghead5820 2 жыл бұрын
@@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.
@leoxench
@leoxench 3 жыл бұрын
Great! Super!
@shadsluiter
@shadsluiter 2 жыл бұрын
Many thanks!!
@Seculol
@Seculol Жыл бұрын
I get the same behaviore with ShowDialog() and Show() , .NET 7 here :(
@ОстапБендера-м8с
@ОстапБендера-м8с 6 ай бұрын
It's a kind of magic! The best tutorial I've ever seen! A lot of new interesting stuff for me and nothing redundant.
milestone 06 scores
2:20
Programming w/ Professor Sluiter
Рет қаралды 458
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 58 МЛН
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 26 МЛН
Как подписать? 😂 #shorts
00:10
Денис Кукояка
Рет қаралды 8 МЛН
C# Lists part 2 Listbox and Datasource
8:44
Programming w/ Professor Sluiter
Рет қаралды 25 М.
The Dictionary Data Structure in C# in 10 Minutes or Less
10:20
IAmTimCorey
Рет қаралды 36 М.
C# Your First Windows Forms Application
9:38
Programming w/ Professor Sluiter
Рет қаралды 233 М.
Winforms (Demo) -1.How to pass data between forms.
19:55
Code for Fun - Tutorial Videos
Рет қаралды 21 М.
C# Tutorial 55:   Passing a value from one form to another form in C#
11:50
ProgrammingKnowledge
Рет қаралды 196 М.
The Basics of Data Binding in WPF
20:53
Tactic Devs
Рет қаралды 43 М.
Using JSON IN C#! Serialization & Deserialization made easy!
14:47
tutorialsEU - C#
Рет қаралды 32 М.
C# Tutorial - How to Get value from another Form | FoxLearn
8:03