Insert welcome screen into the project

Asked

Viewed 57 times

1

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

in the incial form is so:

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

  • but what’s your question? you already have the form (frmBoasVindas), what isn’t working? already searched in Splash Screen?

  • @Ricardopunctual is that I do not master the programming language, I am a student who is trying to acquire experience in the language to which he has to share the search for knowledge with the Java to which the faculty demands, I see some tutorials and for me it doesn’t make much sense to be comprehensive, and so it wraps me up. the splash has the timer and with it involve more elements.

1 answer

1


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

public Form1()
{
    InitializeComponent();

    Conexao.CriarBancoSQLite();
    Conexao.CriarTabelaSQLite();
    frmBoasVindas oForm = new frmBoasVindas();
    oForm.Show();
}
  • Thank you very much worked.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.