splash screen

K

Kayıhan

i have seen Nero 9 splash screen and i want to do the same one.
it was cool.. when you start nero, you get "nero" text on dektop(background
is totaly transparent) and some strings appear and starts waving slowly. it
was very clean-no unnecessary pixel that decrease the quality of view.
how can i write something on desktop and after, animate something on desktop
 
C

Cor Ligthert[MVP]

Drag an image box on a new form
Dock it to total
Put an animated Gif in it, and you are almost where you wanted to be
show the form with showdialog
Use a timer to stop it,

In code something as

\\\
private Form splashScreen;
private void Form1_Load(object sender, EventArgs e)
{
Opacity = 0;
Timer timer = new Timer();
timer.Tick += new EventHandler(timer_Tick);
timer.Interval = 5000;
timer.Start();
splashScreen = new Form();
PictureBox pictureBox = new PictureBox();
pictureBox.Dock = System.Windows.Forms.DockStyle.Fill;
splashScreen.Controls.Add(pictureBox);
System.Drawing.Bitmap bm = new Bitmap(@"C:\myGif.gif");
pictureBox.Image = bm;
splashScreen.ShowDialog();
splashScreen.Dispose();
Opacity = 100;
}
private void timer_Tick(object sender, EventArgs e)
{
splashScreen.Close();
}
///

I hope this gives an idea

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top