P
P
pswd2011-10-10 13:06:17
C++ / C#
pswd, 2011-10-10 13:06:17

Question about c sharp

Good afternoon.
There is a form on which a map of the city is displayed. It is necessary that when you click on the building, a window appears with a hint like this:
image
I am writing in c sharp.
With what help it can be implemented?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
Z
Zlobober, 2011-10-10
@Zlobober

I want to assemble a Toyota car. There are wheels, a body, doors and a Mechanic-60 drill. A picture of the required vehicle is attached. With what help it can be implemented?

S
soks, 2011-10-10
@soks

In my opinion, the easiest way to implement this is to use Javascript

S
skyboy, 2011-10-10
@skyboy

If the map is a picture, then probably the only way is by the coordinates of the mouse click.

D
dobriykot, 2011-10-10
@dobriykot

Write your own control, which you will call if necessary. Pass him the necessary information so that he displays the details. For example, in the Init(...) method. Then something like Show(). And on click on the cross, do Hide(). Well, do not forget to kill, so that the memory does not eat.

V
Vitali Borovik, 2011-10-10
@WAYS

Transfer the web browser to the component and fix everything in js, there are more ready-made solutions and it will be easier for you.
If there is a specific task to implement on a sharp, I would create 2 methods. 1st set_coordinates(x,y,text) {}. 2nd get_coordinates(x,y) {return text}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question