Shr0ud

Shr0ud

  • NA
  • 6
  • 0

User Controls

Dec 10 2003 5:27 AM
I have developed a user control that represent a line in a manufacturing facility, it uses drag n drop and works very well at its job, what I'm having trouble with is getting the data that exists in the controls UP to the main program, I have tried the following with little success.. for(int i = 0; i < this.Controls.Count; i++) Scheduler.Line myLine = Scheduler.Line(this.Controls[i]); or Scheduler.Line myLine = this.Controls[i]; and a few other variations, when in debug I can read all the data properly as it knows the control is of type Scheuler.Line. I just want to know how I can pull it back into the main program. Regards Paul

Answers (2)