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
Lee
NA
7
0
Calling a main loop object from a class method
Jun 10 2008 11:28 PM
Hey all, hopefully someone here can help. I have an object (a queue) that's created in the top of the main form class definition. I'm also creating several objects of a class. I need those class objects to submit to the queue. Unfortunately because of other considerations I'm going to have a hard time moving either the queue or the queue submission process. What's the syntax for submitting object from the class? Here's the pseudo code:
namespace Test1
{
public partial class Form1 : Form
{
public Handler Qlist = new Handler();
List<ClassObject> Boxes = new List<ClassObject>();
//main form methods, etc.
}
public class ClassObject
{
//variables, properties, etc
public void SendQueue()
{
//HERE is where I need to send to the items to Qlist
//How do I do that?
}
}
}
Reply
Answers (
3
)
I need some help on creating a filter from a ComboBox
file close issue