I am trying to make a customized UI for a borderless form using user controls and I was wondering how I would set the form to resize. I am trying to base it off the same little grab bar in the bottom right corner of the form as microsoft. I am currently trying to do this with the events for a...
I'm trying to have a label appear when I mouse over a button (I have this working) but I want the location to be 5 pixels down and 5 to the right from the current position of the mouse. I was messing with Cursor.Position but that added the x and y to were the mouse was.
My code...
I put the images into the resource tab and called the images using
PictureBox1.Image = My.Resources.ResourceManager.GetObject("blue.JPG")
and it does not display an error or an image. Any ideas?
I put this in and it wont work.
PictureBox1.Image = My.Resources("blue.jpg")
it says "App1.My.Resources' is a namespace and cannot be used as an expression. Any ideas on how to fix that?
Thanks for the help
the picture is coming from the project. I added the picture file to the project through Add Existing Item. What I am trying to do is swap images when a radio button is clicked (more than one radio button and image).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.