using property of a class in another [closed]
i have a simple question.how can i use property of a class in another class in ?i have a picturebox in a class and i want to use the picture in picturebox in another class.how can i do it?thanks.
(edit: this answer relates to when the question referred to tabs)
Unless I have misunderstood the question, a couple of options:
- have two separate instances of the
PictureBox
and associated image - sneakily re-position the
PictureBox
when the tab index changes (small saving on resources)
精彩评论