Jump to content
Xtreme .Net Talk

Recommended Posts

  • 2 weeks later...
Posted
Hey, DB that app looks pretty sweet. I went with your solution...would like to stay away from the APIs as well. I also was able to drop controls on your form and have them show up unlike the other solution, but for some reason the label text doesn't paint (I have a label for status like Adobe's screens). It's set correctly when I break in the OnPaintBackground. Anyone know why that is? I launch the splash window for the About box too...label text appears fine then.
Posted

Labels, Controls, Splash Screens, & other Strange Messy Stuff

 

Yes, thanks for that good note about adding controls to the form.

 

As you can see in my application, I used labels to show Application information.

 

Strange, I can't figure out why the labels wouldn't work.

 

I've attached a working example. (works for me)

 

If you still can't get it please attach a sample of the problem...

 

Another note about labels: I'm setting the background color of the labels to be Transparent. This is not required it's just what I'm doing. Also, I like adding the picture to the form as a background image. That way you can position your text & controls correctly over the image at design time.

 

 

Thanks,

Dameon Black

PNG - Labels.zip

Posted

Yeah I couldn't figure it out. I went and sought more methods, and came across this: http://www.codeproject.com/csharp/PrettyGoodSplashScreen.asp

 

It doesn't have any transparency stuff, but it does have a really cool implementation. It's a singleton with all static public methods, so you can call it from wherever without an instance. Runs in its own thread, has a SetStatus feature and a progress bar, stores progresses in the registry so next time you run it shows seconds remaining to load, even fades in/out. I merged that in with what you did, and now have a pretty sweet splash screen.

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...