Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
4
Answers
Form in C#
Mei
15y
2.5k
1
Reply
hello, I'm new in C#.
I have a one small problem, I have a class, where I have :
public void errRaise(string msg)
{
if (error == "")
{
error = msg;
}
// I would like to write on a label1 on Form1 a msg.
}
I know how to access label1 from Form1, but I dont know how to realize that in a class, please, help.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
string multiply
retreiving the value of hidden field from .ascx file to ascx.cs file