First time using this forum, and i have a tricky one (at least for me).
I've developed a web application that shows the images of several rooms in a building. These rooms are call-center rooms, and with the help of a desktop application installed on each operator computer, i can consult the DB with recent status for each computer.
Status like free pc, occupied pc, no pc, no signal, screensaver active, logged out.
With this status i draw in runtime on the image (the coordinates for each workplace is stored in the DB) a corresponding color for each status/pc. I do this using .NET Drawing namespace.
Now, the next step, is to show a picture, also in runtime as a tooltip (the pictures are located in a folder on the same server, but i have to go to the DB) of each person using it.
merdonalds
Member
12 Points
2 Posts
Image as Tooltip on Bitmap
Feb 17, 2012 07:36 PM|LINK
Hi guys!
First time using this forum, and i have a tricky one (at least for me).
I've developed a web application that shows the images of several rooms in a building. These rooms are call-center rooms, and with the help of a desktop application installed on each operator computer, i can consult the DB with recent status for each computer. Status like free pc, occupied pc, no pc, no signal, screensaver active, logged out.
With this status i draw in runtime on the image (the coordinates for each workplace is stored in the DB) a corresponding color for each status/pc. I do this using .NET Drawing namespace.
Now, the next step, is to show a picture, also in runtime as a tooltip (the pictures are located in a folder on the same server, but i have to go to the DB) of each person using it.
Any ideas?
Hua-Jun Li -...
All-Star
75950 Points
5608 Posts
Re: Image as Tooltip on Bitmap
Feb 20, 2012 03:59 AM|LINK
Hi,
You can use the timer control to request the webpage in interval time.
And at the server side, you can use the ashx to send stream to user.
And you can name the image labed with username, thus when user access it, you can find it by the username.
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework
merdonalds
Member
12 Points
2 Posts
Re: Image as Tooltip on Bitmap
Feb 20, 2012 09:20 AM|LINK
Thanks for the answer, but i've thought it over the weekend and i'm going to change the image to imagemap, and then derive the HotSpot class.