Answer the question
In order to leave comments, you need to log in
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:
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
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?
If the map is a picture, then probably the only way is by the coordinates of the mouse click.
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.
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 questionAsk a Question
731 491 924 answers to any question