Reputation: 870
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
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