TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Neven
NA
16
0
Accessing component from class
Mar 9 2010 7:58 AM
Hello I need some help...
For example that I have main form called
frmForm,
and text box on it
txtText
. How can I change Text property of
txtText
from class
clsClass
.
I tried with, but it doesn't seems to be working :
class clsClass{
public void changeText(){
frmForm.txtText.Text = "Some text";
}}
It has to be non-value returning method (void);
Please help, thanks :)
Reply
Answers (
4
)
Preventing controls enable property from changing
winforms update help??