Exemple #1
0
        /*Botão para sair(Fecha programa)*/
        private void btnSair_Click(object sender, EventArgs e)
        {
            TelaInicial tela = new TelaInicial();

            tela.Show();
            Hide();
        }
Exemple #2
0
        /*Botão para fazer Voltar a Tela Inicial*/
        private void btnVoltar_Click(object sender, EventArgs e)
        {
            TelaInicial telaInicial = new TelaInicial();

            telaInicial.Show();
            Hide();
        }