I'm looking at updating some existing code and making a popup modal which contains a custom user control and wondering if this is possible?
I know if I was to place the custom UserControl inside another form this could be achieved quite easily but this seems a bit overkill.
(CommentBox is the custom control)
CommentBox comment = CommentManager.GetComments(commentType, foreignID);
.//Some code to determine location of the popup
.
.
Popup popup = new Popup(comment);
popup.Show(grid.PointToScreen(viewerLocation));