Need help in C# windows application
This is a topic on Need help in C# windows application within the Programmers Corner forums, part of the Technology category; Im a newbie in Visual studio C# and just started making windows form applications.How do i access a variable from ...
-
Uber Newbie
Need help in C# windows application
Im a newbie in Visual studio C# and just started making windows form applications.How do i access a variable from one form(say Form1) like a string or any other variable from another form(say Form2)?please help.also please suggest a good C# text book that is meant for C# windows form applications.thanks.
-
Moderator
Re: Need help in C# windows application
Pass it as a parameter when you're calling form2 & add it as a constructor in form2.
http://stackoverflow.com/q/5928071/92837
also please suggest a good C# text book that is meant for C# windows form applications.
Head First C# http://shop.oreilly.com/product/9780596514822.do
My Gear :HP Envy 14 / i5 520M / 8GB / 500GB HDD / 1TB Seagate GoFlex | Google Cr-48 | D-Link DGL 4500 | Denon AH-C360| Klipsch Image S4a | Fiio E5 | iPhone 3GS| Galaxy S II | Dell U2312HM| X-tatic 5.1 Gaming Headset | Logitech G400 Optical Mouse
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules