Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi there,

 

The question is the following, I have my C# application almost developed, but I want it to be skinned some ways.

Is there anything I can use to do this.

 

TIA

Posted

Probably some Activex would be the best, but the ones I know do nothing for .NET... here I mean ActiveSkin and DirectSkin...

 

Can you suggest me anything else?

Posted

Hopefully this one will work

 

Well, I guess, I have found the control to skin a .NET applications!!!:cool:

 

Once more I made sure the Google is power :D !!!

 

The control is called SkinCrafter, at their site http://skincrafter.com they are saying that it works for WindowsForms... their demo really does...

 

If anyone has been working with it, please, your appraisal would come in handy :)

Posted (edited)

I have done skins but I use a normal graphic editor. I can't give your a critique on the quality of the Skin editor tools other than paintshop pro/paint/etc...

 

It sounds like you may need to know how to create a skin? (If not just ignore this posting).

 

A skin is a graphic with one color that does not display, such as the arrow on the mouse pointer.

 

Do the following:

 

(1) Create you the graphic that you would like to use as a skin. The outside of your skin is a single common color such white. Whatever color you choose will not be displayed when you display the form so make sure the color is not on a part of the skin that you want displayed.

(2) Select the color that you choose not to display from the palette in your form Transparency Key attribute.

(3) Form attribute: form borderstyle change to none

(4) Form attribute: maximize box change to false

(5) select your graphic as a background image. If the color in your image that your want to NOT display, matches the color that you selected as a Transparency Key than you have your skin.

Edited by quahog
when the day is bad and life's a curse, cheer up tomorrow may be worse.
Posted

how about more skins?

 

(1) Create you the graphic that you would like to use as a skin. The outside of your skin is a single common color such white. Whatever color you choose will not be displayed when you display the form so make sure the color is not on a part of the skin that you want displayed.

(2) Select the color that you choose not to display from the palette in your form Transparency Key attribute.

(3) Form attribute: form borderstyle change to none

(4) Form attribute: maximize box change to false

(5) select your graphic as a background image. If the color in your image that your want to NOT display, matches the color that you selected as a Transparency Key than you have your skin.

 

Thanx a lot for explanation, but still have more questions

- How can I do more then one skin this way?

- And also I found that skincrafter can make different window shapes, depending on the skins... is it also easy to implement?

 

Best regards

Posted

Morlem

 

- How can I do more then one skin this way?

Yes. I put the following VB code in the on_click event of a button. (I don't know C# but I think you will be able to make the change.)

 

Me.BackgroundImage = Image.FromFile("C:\pictures\matrix.bmp", True)

 

You could fire this code off from a listbox of file names or a few check boxes or a dialog window.

 

- And also I found that skincrafter can make different window shapes, depending on the skins... is it also easy to implement?

+++++

It sounds like all you have to do is follow the steps I provided previously and you should be all set. From what little I have seen of skincrafter, it looks like a good tool to generate skins.

 

Good Luck,

 

Quahog

when the day is bad and life's a curse, cheer up tomorrow may be worse.
Posted

Thank you...

 

Thanks a lot for your suggestions!

 

I'll try to use them when developing my next project, I hope I would have a time for implementing and debugging my own skin engine.

 

But, as deadline is nearby, I'd use a skincrafter now, I also found it to be a good tool.

 

Best Regards

 

PS:

If there is any samples with your method, it'd be very nice :cool:

Posted

This code will show a circular form:

Dim Pth as Drawing2D.GraphicsPath = New Drawing2D.GraphicsPath()
Pth.AddEllipse(0, 0, 200, 200)
Me.Region = New Region(Pth)

Drawing2D.GraphicsPath Pth = new Drawing2D.GraphicsPath();
Pth.AddEllipse(0, 0, 200, 200);
this.Region = new Region(Pth);

 

The easier method is:

1) Set Form's BackgroundImage

2) Set Form's TransparencyKey to whatever color is ment to be transparent

The form will now shape itself to the picture

.Net allows software to be written for any version of Windows and not break like Unmanaged applications unless using Unmanaged procedures like APIs. If your program uses large amounts of memory but releases it when something else needs it, then what's the problem?
  • 3 weeks later...
Posted
  • 4 months later...
Posted

DirectSkin can SKIN .NET APPLICATIONS

 

The http://www.stardock.com/products/directskin/ DirectSkin solution is working with .NET WindowsForms... I try stuff with it and it went well...

 

they still dont support all the controls but almost all of them...

i talk to them last week and they sent me a .NET application sample....which was working fine.

 

the graphic capabilities are coool ! and the skin editor is JUST PRO (SkinStudio4)...

 

BUT ! I really want to read a honest review about this product! (someone?!)..

 

CHECK IT OUT.

 

(IM LOOKING 4 A SKIN SOLUTION TO A C# .NET APP...THE SKINCRAFTER IS WORKING WELL BUT THE RESAULTS IS KINDA :( AND THE SKIN EDITOR IS BAD:(........)

Posted

Watch out for the Transparancy trick.

 

It use Layers so OS that don't support layers (like every windows before Win2k) there will be some glitch. And I saw a LOT of people experiencing problem with this method (not on implanting it but on running it). Another thing is that Region is much more reliable. It'll probably work on every platform that run .NET (didn't have any complain right now)

"If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown

"Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me

"A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend.

C# TO VB TRANSLATOR

Posted

But the price!!!

 

(IM LOOKING 4 A SKIN SOLUTION TO A C# .NET APP...THE SKINCRAFTER IS WORKING WELL BUT THE RESAULTS IS KINDA :( AND THE SKIN EDITOR IS BAD:(........)

 

Actually SkinCrafter is kinda young product (their first release was on last Aug) but, IMHO, they offer a good skining service and for really lower prise - $299 for unlimited one developer licence comparatively to $999 for StrarDock Basic licence with "up to 1,000 units of your product to be distributed" :confused:

 

Actually, I like SkinCrafter for their often upgrades releases and good job of their support team.

 

Regards,

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...