hi, i have a set of controls inherited from the picturebox control. i draw a curve using graphics.drawcurve to link 2 controls.the problem that i'm facing is that the curve disappears under any other (inherited)picturebox control in its path. Is there some way to avoid this ie.drawing under the control? or can i make the control transparent.
mats_mathai
Posts
-
customized drawing a curve -
redraw line drawn at runtimehi, i need to know how to redraw a line drawn at runtime on a windows form control.the problem i'm facing is that evrytime the scrollbar is moved the line drawn dissappears. i cannot add the line drawing to the onpaint method as the line is created in reponse to a mouse click event. Thanks, mats_mathai.
-
linking an image file to a dllhi, i need to link an image with a windows control library so that evry time the control is downloaded onto the client side the image also gets downloaded. this is what i'm trying to get. i'm using a windows control on my asp.net page. The code for this control involves creating a graphics object... which in turn displays an image. the problem i'm facing now is how to specify the location of the image file. i can't specify the url as Image.FromFile does not accept urls. Sample code Public Sub DrawImagePoint(e As PaintEventArgs) Dim newImage As Image = Image.FromFile("SampImag.jpg") Dim ulCorner As New Point(100, 100) e.Graphics.DrawImage(newImage, ulCorner) End Sub
-
java applet in .net+ client side codehi, i would like to knw whether there is something similar to java applets in .net.Also , whether it is possible to run code on the client side eg: modify an image based on the client's mouseclick event.
-
accessing ip packets using VB.NEThi, i would like to know how an application developed in VB.NET can access ip packets. ie the fields in ip packets. and manipulate the ip packets.