F
F
Forname2020-05-21 19:08:36
C++ / C#
Forname, 2020-05-21 19:08:36

winforms. How to refer to the pictureBox element by its name from another class?

I tried to create a constructor, but it doesn't work. Doesn't see these pictureBox. Can you please tell me how to do something like this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2020-05-21
@freeExec

Not by name. In any case, you will need to create a public property on the form class where you will return pictureBox.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question