private void Timer1_Tick(object sender, EventArgs e)
        {
            login login = new login();

            if (progressBar1.Value < 100)
            {
                progressBar1.Value = progressBar1.Value + 2;
            }
            else
            {
                login.PrimeiraAcesso();

                if (login.tem2 == false)
                {
                    timer1.Enabled = false;
                    TelaLogin fr1 = new TelaLogin();
                    fr1.Show();
                    this.Visible = false;
                }
                else
                {
                    timer1.Enabled = false;
                    Tela_ConfiguracaoInicial fr1 = new Tela_ConfiguracaoInicial();
                    fr1.Show();
                    this.Visible = false;
                }
            }
        }
        private void Button1_Click(object sender, EventArgs e)
        {
            TelaLogin frmp = new TelaLogin();

            frmp.Show();
            this.Visible = false;
        }