How to Create Modern Splash Screen with Progress Bar & timer using C# vscode

How to Create Modern Splash Screen with Progress Bar & timer using C# vscode

There are multiple way to create modern splash screen in csharp but we are showing you easiest way to create splash screen using csharp with timer & progress bar 

Modern Splash Screen with Progress Bar & timer using C# vscode




Steps to Create Splash Screen in windows app using Csharp :


To create beautifull Modern Splash Screen in c# ,cSharp here are the steps:


1. Create two form first 

2. on the 1 form set FormBorderStyle property none

  • FormBorderStyle : none


3. Now set property in form 1 BackColor to 48, 56, 79

  • BackColor: 48, 56, 79

4. Now input lable and picture box and design as you can..

5. Now Input the progress bar from toolbox (left side) & also input the timer

6. Now your design was ready now we have to code for the progress bar 


Code for Modern Splash Screen with Progress Bar & timer using C#,Csharp vscode


1. First on the form1.cs file set timer1.enabled is true on form load event

public Form1()
        {
            InitializeComponent();
            timer1.Enabled = true; // here we have enable timer (start timer)
        }


2. Now initialize the integer with variable

int time = 0;



3. Now on the timer Event just paste the code below in this code timer1 is my timer tool name

private void timer1_Tick(object sender, EventArgs e)
        {

            time++;
            progressBar1.Value = time;  // progress bar value is equals to timer
            if(time == 100)  // when time is 100 then below
            {
                timer1.Enabled = false; // timer false
                var fm2 = new Form2();  // we create object of form 2 here
                fm2.Show(); //we show form 2
                this.Hide(); //here we hide this form 1
                time = 0; 


                // Now if you want to faster load then
            }
        }

Link After Subscribe:



Click On The Button And Subscribe My Youtube Channel To Open Link Then Get Back To The Page...





5 Comments

  1. It is really not very hard to download your favourite song with the help of <a href="https://wp.aflam.xyz/%d9%85%d9%84%d9%81-%d8%a3%d8%b2%d8%a7%d9%84%d8%aa-%d8%a7%d9%84%d8%b9%d8

    ReplyDelete
  2. It is very difficult for us to give information about anyone, because you should have the information first, only then you can tell someone about anything in a good way, then this is what you are giving us this information It can be useful in future and sharing knowledge increases and we have also gained some knowledge. We hope that you keep writing similar posts in future. For. Films d action americain complet en francais plein eacute cran HD Films d Action 2020 Nouveaute 5

    ReplyDelete
  3. This is very best site i firstly appreciate the author for sharing this information content with us i like this very much i try my best more to more people approch this Visit this Healthy DIY Cooking With Chef Marinka

    ReplyDelete
Previous Post Next Post