Insert welcome screen into the project

1

How do I enter a welcome screen with a button to continue and open the system?

In the initial form it looks like this:

namespace App_Herois_da_Fe
{
public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();

        Conexao.CriarBancoSQLite();
        Conexao.CriarTabelaSQLite();
    }

the name of the welcome screen form is: frmBoasVindas.cs

    
asked by anonymous 09.02.2018 / 12:11

1 answer

1

You can create a Form and call it by the Show method that will load the form and continue processing after it has been opened, and inside the welcome form implements the rule you want to close the form.

public Form1()
{
    InitializeComponent();

    Conexao.CriarBancoSQLite();
    Conexao.CriarTabelaSQLite();
    frmBoasVindas oForm = new frmBoasVindas();
    oForm.Show();
}
    
09.02.2018 / 12:49