Jan de Jager
Jan de Jager

Reputation: 870

Draw User-Control through Graphic Object

I have an event on a control that only provides a graphic object to paint to. Is it possible to load a usercontrol and have it draw to the specific graphic object?

Upvotes: 0

Views: 715

Answers (1)

Constantine Georgiou
Constantine Georgiou

Reputation: 3401

"Load a usercontrol" makes no meaning. If that "user-control" is another window it has to be CREATED, but this can only be done during initialization/creation of the dialog or window, not during painting.

Upvotes: 1

Related Questions