I use GDI+ in my application, with visual basic .net 2005 , but now that im trying to create new functionalities, i'm using DirectX and Visual C#. I've encountered a big problem. The application is a medical application where the doctor has to click, with the mouse, in certain parts of an image. Those clicks will create points that the program will save in a database in order to later display them on screen. When i use directx and visual c#, the points aren't shown in their correct location. The points are a lot close together and in different locations. In GDI i was drawing on a picturebox and now i'm just drawing in a black screen. I've already summed (+) then picturebox.left and picturebox.top, but even that didn't work. the picturebox was drawing in pixels. Could directx be drawing in another measure?
Can you please help?
My thanks in advanced