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
solomon mwika
1.5k
210
7.9k
events
Feb 10 2014 8:19 AM
I have a method
public void mybutton_click(object sender ,eventArgs e){
textblock.text=1;
}
public String mymethod(){
if(textlock.text==1){
return "mixture ";
}
else {
return "fixed";
}
}
problem is when i try to return the values from mymethod to a timer event I get the error
Not all code paths return a value .
how do i resolve so as to return a value from mymethod
Reply
Answers (
4
)
passing values to one form to another form
ReadAllBytes Method of the File Class PROBLEM