Solved

Making a workable skin for a windows form in vb.net

Posted on 2010-11-21
2
1,087 Views
Last Modified: 2012-05-10
I am trying to skin a form in vb.net - I designed a simple skin in Photoshop to try out - I added it to my form as a background image - but I experience two problems:
1. the skin is not the right size for the form (I obviously have set the image size wrong in PS)
2. I can make the skin fit the form by setting mode to stretch but when I do this and change the size of the form by dragging then the text boxes etc are in the wrong place.

Any help would be welcome
0
Comment
Question by:Jedeye
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 83

Assisted Solution

by:CodeCruiser
CodeCruiser earned 100 total points
ID: 34183258
0
 
LVL 5

Accepted Solution

by:
Barsham earned 400 total points
ID: 34184516
We have two kinds of graphics :
1- Vector graphics   http://en.wikipedia.org/wiki/Vector_graphics
2- Raster graphics   http://en.wikipedia.org/wiki/Raster_graphics

you should first decide what type of graphics you'll use in your project.
In vector graphics the positive point is you can re-size the image without losing the quality because everything made by lines and points (like WMF or other vector base images).

In your case I think you're using raster graphics (i.e. Bitmap) for your background image. so you'll lose quality and style when you change the resolution. If you want to keep your graphics style (Bitmap), I suggest to remove form sizable properties from your form and make an exact size for your image and also your form.


And also please consider that .NET has different behaviors for different image types (JPEG , BMP , GIF, ...). I recon to change the type and check the performance of your form. It's really important cause you want something beautiful and also fast.





0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Suggested Courses

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question