How to transfer data from Form1 to Form2 in Windows Form Application using static variables

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ย. 2024
  • #csharp #windowsformapp #form
    In this lecture you will work with more than one Form control. We will program to learn data transfer from Form1 from Form2.
    This time we are using static variable to transfer data. But as we know, data transfer can be done in many different way. We will cover all the possible ways in different videos. You can then chose a transfer technique which is best suit to you.
    Other ways to transfer data between Winforms you learn here,
    Data transfer from form1 to form2 using class properties.
    • How to transfer data f...
    Data transfer from form1 to form2 using class constructor.
    • How to transfer data f...
    Data transfer from form1 to form2 using static variables.
    • How to transfer data f...
    Don't forget to like the video and subscribe the channel.
    Check the playlist How to C# Windows Form more tutorial on C# .NET programming. Here is the link:
    • How To C# Windows Forms
    Regards
    #smartcode

ความคิดเห็น • 6

  • @Btbtbt-kr9fx
    @Btbtbt-kr9fx ปีที่แล้ว +2

    Thankyou very much this help me a lot😭♥️♥️♥️

  • @ruwini7wijesinghe
    @ruwini7wijesinghe ปีที่แล้ว +1

    Thank you so much

  • @lighton9451
    @lighton9451 8 หลายเดือนก่อน +1

    how can you to change the values in real-time ?

  • @armuc6941
    @armuc6941 หลายเดือนก่อน

    your method is not recommended, your classe form and your global variable are not protected, so you can't to realise a great programme with your static method, because the satiic make your classe fragile