R
R
Rebekah2018-01-18 20:46:58
C++ / C#
Rebekah, 2018-01-18 20:46:58

How to pass image to User Control?

There is an ImageBox in the control, how can I pass an image to the control?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Peter, 2018-01-18
@Rebekah

Declare a method for your User Control

public void SetImage(Image image)
{
    // тут и установите в ImageBox
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question