There are a lot of beginner and even intermediate level developers that have no idea how to access/modify a forms objects/methods from within a different class. I’ll show you the easiest practice of this.
First we have to make a reference. We must use the ‘protected’ keyword. I use the same name as the windows form that way it is easy to keep track of variables.
Once that is done you must set each method and object you want to access to public. You do this from the Forms Designer Class.
And that’s it. With just 2 lines of code you can now access you forms controls and methods.
[Sorry for the images of the code, my code-box plugin is broken]













































i’m the beginner so thanks a lot for your help!
thanks for that. helped a lot.
http://videoelectors.blogspot.com/2010/03/admonishing-dibble-faradism.html
videos download videos best best.
Incredible. lifeofajackiass.com is amazing.
nAd this is the reason I love lifeofajwckass.com. Awesome posts.
http://videooffish86.blogspot.com/2010/03/felicitare-video-retting.html
Nice post. lifeofajackass.com is the shit.
http://videoapostatel.blogspot.com/
Long time lurker, thought I would say hello! I really dont post much but thanks for the good times I have here. Love this place..
When I was hurt in that automobile accident my life would be changed eternally. Unfortunately that driver had no car insurance and I was going to be hurting for ever.
This was not time for me to start and guess what to do. I had to find a good attorney to help me get what I needed. After all, my family was counting on me.
How terrible was it? I has bedridden for 8 months, I had to have constant care and my clinic bills went through the roof!
Thank goodness, I found a good referral site to help me.
I will post more later this week to tell you more about what I have been going through.
If you need an accident attorney try the guys at http://theaccidentlawyers.org