i want to know is it possible to create a splash screen on c sharp to show for a certain amount of time than dissapear ?

start form self close
1.create form with a timer
2.on form_load --> enable the timer
3.on timer_tick event make the code to hide current form and show next form.

private void Form_Load(object sender,EventArgs e)
{
timer1.Interval=500;
timer1.Enabled=true;
}
int i=0;
private void timer1_tick(...)
{
    i++;
    if(i>10)
    {
        timer1.Enabled=false;
        this.hide();
        Form2 obj=new Form2();
        obj.show();
    }
 }
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.