Reputation: 18963
Please See this:
http://img405.imageshack.us/img405/2008/rolloversummaryschedule.jpg
How can i create a window that holds Patient data in it? The 2 records that you see is in List View. I would then using ContextMenuStrip for text "View Details". When View Details is clicked i need to show the context. For web development this could be done via Javascript,div and panels. How that should be WinForms?
Please Help.
Thanks!
Upvotes: 1
Views: 1834
Reputation: 9986
How about:
Checkout:
---EDIT--
You can use the GroupBox, or the Panel control itself. Usually, with WinForms GroupBox is more of a common use.
Upvotes: 1
Reputation: 11418
I take it you mean as a popup panel, like you would see using javascript such as overlib (http://www.bosrup.com/web/overlib/) - implementing this behaviour in winforms.
The way I have done this in the past is by having a user control which is an extended panel, and on the mouseenter event of the specific control I have shown the panel at the mouses's x,y coordinates, which are accessible from the event arguments in the handler.
Then on mouseleave you hide the usercontrol.
Upvotes: 1