*Gurus* divil Posted March 16, 2004 *Gurus* Posted March 16, 2004 Yes, the Adobe products have the same problem. What can I say, I'm a perfectionist! Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
DotNetArkytekt Posted March 24, 2004 Posted March 24, 2004 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. Quote
DameonBlack Posted March 24, 2004 Posted March 24, 2004 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 BlackPNG - Labels.zip Quote
DotNetArkytekt Posted March 25, 2004 Posted March 25, 2004 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.