Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2010-11-21
2
Medium Priority
?
1,089 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 400 total points
ID: 34183258
0
 
LVL 5

Accepted Solution

by:
Barsham earned 1600 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
Suggested Courses

660 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