Newbie help

  • Thread starter Thread starter Altman
  • Start date Start date
A

Altman

I have an idea and I think it should work but I can't seem to get it to
work. I have 2 classes (in this case it is bin and hopper). I want to be
able to have a property on class bin that points to a hopper. I have been
able to do this. Upon setting this property I want to draw a line on the
form from the bin to the hopper. This is what I am having problems with.
Also what statement can I use to determine if when the property is set,
whether it is set to a hopper class or not? Basically the question is, How
do I draw a line on a form from a class that is put into the form?
 
Can you explain what you mean by

.... a line from a class that is PUT INTO the form?
Do you mean that the bin and hopper are controls ?

Thank You
rawCoder
 
I think I got it finally but yes they are both controls and I wanted to set
the property of the bin control to the hopper and then it would draw a line.
I guess I am just struggling with this new line drawing in .net.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top