示例#1
0
        private void Perfil_Load(object sender, EventArgs e)
        {
            Metodos met = new Metodos();

            met.buscarNome(idLogin);
            lblNome.Text  = met.Nome;
            lblEmail.Text = met.Email;
            met.BuscarIdFoto(idLogin);
            idFoto = met.Foto;

            if (idFoto == "1")
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.usuario1);
            }

            if (idFoto == "2")
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.usuario2);
            }

            if (idFoto == "3")
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.usuario3);
            }

            if (idFoto == "4")
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.usuario4);
            }

            if (idFoto == "5")
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.usuario5);
            }

            if (idFoto == "6")
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.usuario6);
            }
        }
示例#2
0
        // Formulário auxiliar para puxar os conteudos do banco
        private void frmAux1_Load(object sender, EventArgs e)
        {
            Focus();
            Metodos met = new Metodos();

            met.buscarConteudo(idAula, Modulo);
            rtbConteudo.Text     = met.NConteudo;
            rtbConteudo.ReadOnly = true;

            if (Modulo == 2 && idAula == 1)
            {
                this.pictureBox1.Size = new System.Drawing.Size(270, 408);
                //    pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m2a1_anatomia_violao);
            }
            if (Modulo == 2 && idAula == 2)
            {
                this.pictureBox1.Size = new System.Drawing.Size(275, 391);
                //    pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m2a1_cifragem_do_violao);
            }
            if (Modulo == 4 && idAula == 4)
            {
                this.pictureBox1.Size = new System.Drawing.Size(459, 149);
                //     pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m4a3_Cifragem_da_melodia);
            }
            if (Modulo == 4 && idAula == 7)
            {
                this.pictureBox1.Size = new System.Drawing.Size(460, 200);
                //    pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m4a4_Valor_das_sequencias_de_notas);
            }
            if (Modulo == 5 && idAula == 2)
            {
                this.pictureBox1.Size = new System.Drawing.Size(326, 436);
                //    pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m5a2_Escala_das_notas_para_acorde);
            }
            if (Modulo == 5 && idAula == 6)
            {
                this.pictureBox1.Size = new System.Drawing.Size(125, 97);
                //    pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m5a3_Formacao_de_acordes_menores);
            }
        }
示例#3
0
        private void btnEntrar_Click(object sender, EventArgs e)
        {
            string Login = txtLoginL.Text;
            string Senha = txtSenhaL.Text;


            Conexao conexao = new Conexao();

            conexao.conectar();


            string query = "SELECT Login,Senha From Cadastro WHERE Login = '******' AND Senha = '" + Senha + "' ;";


            MySqlCommand cmd = new MySqlCommand(query, conexao.cn);

            MySqlDataReader dr = cmd.ExecuteReader();

            if (dr.Read())
            {
                Login = dr["Login"].ToString();
                Senha = dr["Senha"].ToString();

                Metodos met = new Metodos();
                met.buscarNome(Login);

                Perfil P = new Perfil();
                this.Hide();
                P.Show();
            }
            else
            {
                MessageBox.Show("Usuário ou Senha não encontrados!", "Erro!");
            }
            conexao.desconectar();
        }
示例#4
0
        private void btnSelecionar_Click(object sender, EventArgs e)
        {
            Metodos met = new Metodos();

            met.buscarId(Login);
            idLogin = met.idLogin;

            if (rdImagem1.Checked == true && btnSelecionar.Text == "Selecionar")
            {
                idFoto = 1;
                met.EnviarIdFoto(Login, idFoto);
                Perfil p = new Perfil(idLogin);
                p.Show();
                introducao i = new introducao(idLogin);
                i.Show();
                this.Close();
            }
            if (rdImagem2.Checked == true && btnSelecionar.Text == "Selecionar")
            {
                idFoto = 2;
                met.EnviarIdFoto(Login, idFoto);
                Perfil p = new Perfil(idLogin);
                p.Show();
                introducao i = new introducao(idLogin);
                i.Show();
                this.Close();
            }
            if (rdImagem3.Checked == true && btnSelecionar.Text == "Selecionar")
            {
                idFoto = 3;
                met.EnviarIdFoto(Login, idFoto);
                Perfil p = new Perfil(idLogin);
                p.Show();
                introducao i = new introducao(idLogin);
                i.Show();
                this.Close();
            }
            if (rdImagem4.Checked == true && btnSelecionar.Text == "Selecionar")
            {
                idFoto = 4;
                met.EnviarIdFoto(Login, idFoto);
                Perfil p = new Perfil(idLogin);
                p.Show();
                introducao i = new introducao(idLogin);
                i.Show();
                this.Close();
            }
            if (rdImagem5.Checked == true && btnSelecionar.Text == "Selecionar")
            {
                idFoto = 5;
                met.EnviarIdFoto(Login, idFoto);
                Perfil p = new Perfil(idLogin);
                p.Show();
                introducao i = new introducao(idLogin);
                i.Show();
                this.Close();
            }
            if (rdImagem6.Checked == true && btnSelecionar.Text == "Selecionar")
            {
                idFoto = 6;
                met.EnviarIdFoto(Login, idFoto);
                Perfil p = new Perfil(idLogin);
                p.Show();
                introducao i = new introducao(idLogin);
                i.Show();
                this.Close();
            }
            if (rdImagem1.Checked == true && btnSelecionar.Text == "Alterar")
            {
                idFoto = 1;
                met.EnviarIdFoto(Login, idFoto);
                Perfil p = new Perfil(idLogin);
                p.Show();
                this.Close();
            }
            if (rdImagem2.Checked == true && btnSelecionar.Text == "Alterar")
            {
                idFoto = 2;
                met.EnviarIdFoto(Login, idFoto);
                Perfil p = new Perfil(idLogin);
                p.Show();
                this.Close();
            }
            if (rdImagem3.Checked == true && btnSelecionar.Text == "Alterar")
            {
                idFoto = 3;
                met.EnviarIdFoto(Login, idFoto);
                Perfil p = new Perfil(idLogin);
                p.Show();
                this.Close();
            }
            if (rdImagem4.Checked == true && btnSelecionar.Text == "Alterar")
            {
                idFoto = 4;
                met.EnviarIdFoto(Login, idFoto);
                Perfil p = new Perfil(idLogin);
                p.Show();
                this.Close();
            }
            if (rdImagem5.Checked == true && btnSelecionar.Text == "Alterar")
            {
                idFoto = 5;
                met.EnviarIdFoto(Login, idFoto);
                Perfil p = new Perfil(idLogin);
                p.Show();
                this.Close();
            }
            if (rdImagem6.Checked == true && btnSelecionar.Text == "Alterar")
            {
                idFoto = 6;
                met.EnviarIdFoto(Login, idFoto);
                Perfil p = new Perfil(idLogin);
                p.Show();
                this.Close();
            }
        }
示例#5
0
        private void btnCadastrar_Click(object sender, EventArgs e)
        {
            if (txtSenha.TextLength < 3)
            {
                MessageBox.Show("Sua senha deve ter no minimo 3 caracteres!", "Alerta!");
            }
            if (txtSenha.Text != txtCSenha.Text)
            {
                txtSenha.Text  = "";
                txtCSenha.Text = "";
                MessageBox.Show("Sua confirmação de senha não está igual!", "Alerta!");
            }
            if (txtNome.TextLength < 3)
            {
                MessageBox.Show("Insira um nome com no mínimo 3 caracteres!", "Alerta!");
            }
            if (txtLogin.TextLength < 4)
            {
                MessageBox.Show("Seu login deve conter no mínimo 4 caracteres!", "Alerta!");
            }
            Login = txtLogin.Text;
            Metodos met = new Metodos();

            met.buscarLoginErro(Login);
            string Erro = met.LoginErro;

            if (Erro != null)
            {
                MessageBox.Show("Escolha um Login disponivel!", "Erro");
                txtLogin.Text = "";
            }

            if (Erro == null && txtSenha.Text == txtCSenha.Text && txtSenha.TextLength > 2 && txtNome.TextLength > 2 && txtLogin.TextLength > 3)
            {
                Cadastro cad  = new Cadastro();
                dal      da   = new dal();
                string   dia  = DataNasc.Value.Day.ToString();
                string   mes  = DataNasc.Value.Month.ToString();
                string   ano  = DataNasc.Value.Year.ToString();
                string   data = (ano + "/" + mes + "/" + dia);
                cad.Data  = data;
                cad.Nome  = txtNome.Text;
                cad.Email = txtEmail.Text;
                cad.Login = txtLogin.Text;
                cad.Senha = txtSenha.Text;
                Login     = txtLogin.Text.ToString();

                if (rbtMasculino.Checked == true)
                {
                    cad.Sexo = "M";
                }

                if (rbtFeminino.Checked == true)
                {
                    cad.Sexo = "F";
                }

                da.cadastro(cad);
                MessageBox.Show("Está quase lá! Selecione uma foto de perfil!", "Prossiga");
                FotoUsuario foto = new FotoUsuario(Login);
                foto.Show();
                this.Close();
            }
        }
示例#6
0
文件: Perfil.cs 项目: ItzGuuh/Musitec
        private void Perfil_Load(object sender, EventArgs e)
        {
            Metodos met = new Metodos();

            lblNome.Text = met.Nome;
        }
示例#7
0
        // Método que vai para apróxima aula.
        private void button1_Click(object sender, EventArgs e)
        {
            Metodos met = new Metodos();

            met.buscarConteudo(idAula, Modulo);
            if (Modulo == 1)                // Verifica se o módulo é o número 1
            {
                if (idAula == 7)            // Se a aula desse módulo for 7 (nesse caso é a última aula do módulo)
                {                           // Será fechado o frmAux e aberto a página do módulo seguinte (o doi
                    Modulo1 ma = new Modulo1(idLogin);
                    Modulo2 m  = new Modulo2(idLogin);
                    this.Close();
                    ma.Close();
                    m.Show();
                }
                else                        // Caso não for o último módulo, apenas irá atualizar o conteúdo do
                {                           // formulário através do método "buscar".
                    idAula = idAula + 1;
                    buscar();
                }
            }
            if (Modulo == 2)
            {
                if (idAula == 4)
                {
                    Modulo2 ma = new Modulo2(idLogin);
                    Modulo3 m  = new Modulo3(idLogin);
                    this.Close();
                    ma.Close();
                    m.Show();
                }
                else
                {
                    idAula = idAula + 1;
                    buscar();
                }
            }
            if (Modulo == 3)
            {
                if (idAula == 7)
                {
                    Modulo3 ma = new Modulo3(idLogin);
                    Modulo4 m  = new Modulo4(idLogin);
                    this.Close();
                    ma.Close();
                    m.Show();
                }
                else
                {
                    idAula = idAula + 1;
                    buscar();
                }
            }
            if (Modulo == 4)
            {
                if (idAula == 10)
                {
                    Modulo4 ma = new Modulo4(idLogin);
                    Modulo5 m  = new Modulo5(idLogin);
                    this.Close();
                    ma.Close();
                    m.Show();
                }
                else
                {
                    idAula = idAula + 1;
                    buscar();
                }
            }
            if (Modulo == 5)
            {
                if (idAula == 8)
                {
                    Modulo5 ma = new Modulo5(idLogin);
                    Modulo6 m  = new Modulo6(idLogin);
                    this.Close();
                    ma.Close();
                    m.Show();
                }
                else
                {
                    idAula = idAula + 1;
                    buscar();
                }
            }
            if (Modulo == 6)
            {
                if (idAula == 11)
                {
                    Modulo6 ma = new Modulo6(idLogin);
                    Modulo7 m  = new Modulo7(idLogin);
                    this.Close();
                    ma.Close();
                    m.Show();
                }
                else
                {
                    idAula = idAula + 1;
                    buscar();
                }
            }
            if (Modulo == 7)
            {
                if (idAula == 5)
                {
                    Modulo7 ma = new Modulo7(idLogin);
                    Modulo8 m  = new Modulo8(idLogin);
                    this.Close();
                    ma.Close();
                    m.Show();
                }
                else
                {
                    idAula = idAula + 1;
                    buscar();
                }
            }
            if (Modulo == 8)
            {
                if (idAula == 7)
                {
                    Modulo8 ma = new Modulo8(idLogin);
                    Modulo9 m  = new Modulo9(idLogin);
                    this.Close();
                    ma.Close();
                    m.Show();
                }
                else
                {
                    idAula = idAula + 1;
                    buscar();
                }
            }
            if (Modulo == 9)
            {
                if (idAula == 5)
                {
                    Modulo9  ma = new Modulo9(idLogin);
                    Modulo10 m  = new Modulo10(idLogin);
                    this.Close();
                    ma.Close();
                    m.Show();
                }
                else
                {
                    idAula = idAula + 1;
                    buscar();
                }
            }
            if (Modulo == 10)
            {
                if (idAula == 9)
                {
                    Modulo10 ma = new Modulo10(idLogin);
                    Modulo11 m  = new Modulo11(idLogin);
                    this.Close();
                    ma.Close();
                    m.Show();
                }
                else
                {
                    idAula = idAula + 1;
                    buscar();
                }
            }
            if (Modulo == 11)
            {
                if (idAula == 13)
                {
                    Modulo11 ma = new Modulo11(idLogin);
                    Modulo12 m  = new Modulo12(idLogin);
                    this.Close();
                    ma.Close();
                    m.Show();
                }
                else
                {
                    idAula = idAula + 1;
                    buscar();
                }
            }
            if (Modulo == 12)
            {
                if (idAula == 4)
                {
                    Modulo12 ma = new Modulo12(idLogin);
                    Modulo13 m  = new Modulo13(idLogin);
                    this.Close();
                    ma.Close();
                    m.Show();
                }
                else
                {
                    idAula = idAula + 1;
                    buscar();
                }
            }
            if (Modulo == 13)
            {
                if (idAula == 7)
                {
                    Modulo13 ma = new Modulo13(idLogin);
                    Modulo14 m  = new Modulo14(idLogin);
                    this.Close();
                    ma.Close();
                    m.Show();
                }
                else
                {
                    idAula = idAula + 1;
                    buscar();
                }
            }
            if (Modulo == 14)
            {
                if (idAula == 10)
                {
                    Modulo14 ma = new Modulo14(idLogin);
                    Modulo15 m  = new Modulo15(idLogin);
                    this.Close();
                    ma.Close();
                    m.Show();
                }
                else
                {
                    idAula = idAula + 1;
                    buscar();
                }
            }
            if (Modulo == 15)
            {
                if (idAula == 5)
                {
                    Modulo15 ma = new Modulo15(idLogin);
                    Modulo16 m  = new Modulo16(idLogin);
                    this.Close();
                    ma.Close();
                    m.Show();
                }
                else
                {
                    idAula = idAula + 1;
                    buscar();
                }
            }
            if (Modulo == 16)
            {
                if (idAula == 15)
                {
                    Modulo16  ma = new Modulo16(idLogin);
                    Conclusão p  = new Conclusão();
                    this.Close();
                    ma.Close();
                    p.Show();
                }
                else
                {
                    idAula = idAula + 1;
                    buscar();
                }
            }
        }
示例#8
0
        private void btnVoltar_Click(object sender, EventArgs e)
        {
            // Switch case que verifica qual módulo o frmAux está mostrando (através do conteúdo) e
            // mostra o módulo quando pressionado o botão de voltar.
            Metodos met = new Metodos();

            met.buscarConteudo(idAula, Modulo);
            switch (Modulo)
            {
            case 1:
                Modulo1 m1 = new Modulo1(idLogin);
                m1.Show();
                break;

            case 2:
                Modulo2 m2 = new Modulo2(idLogin);
                m2.Show();
                break;

            case 3:
                Modulo3 m3 = new Modulo3(idLogin);
                m3.Show();
                break;

            case 4:
                Modulo1 m4 = new Modulo4(idLogin);
                m4.Show();
                break;

            case 5:
                Modulo2 m5 = new Modulo5(idLogin);
                m5.Show();
                break;

            case 6:
                Modulo6 m6 = new Modulo6(idLogin);
                m6.Show();
                break;

            case 7:
                Modulo7 m7 = new Modulo7(idLogin);
                m7.Show();
                break;

            case 8:
                Modulo2 m8 = new Modulo8(idLogin);
                m8.Show();
                break;

            case 9:
                Modulo9 m9 = new Modulo9(idLogin);
                m9.Show();
                break;

            case 10:
                Modulo10 m10 = new Modulo10(idLogin);
                m10.Show();
                break;

            case 11:
                Modulo11 m11 = new Modulo11(idLogin);
                m11.Show();
                break;

            case 12:
                Modulo12 m12 = new Modulo12(idLogin);
                m12.Show();
                break;

            case 13:
                Modulo13 m13 = new Modulo13(idLogin);
                m13.Show();
                break;

            case 14:
                Modulo14 m14 = new Modulo14(idLogin);
                m14.Show();
                break;

            case 15:
                Modulo15 m15 = new Modulo15(idLogin);
                m15.Show();
                break;

            case 16:
                Modulo16 m16 = new Modulo16(idLogin);
                m16.Show();
                break;
            }

            this.Close();
        }
示例#9
0
        // Método buscar
        // Formulário auxiliar para puxar os conteudos do banco
        private void buscar()
        {
            Focus();
            Metodos met = new Metodos();

            met.buscarConteudo(idAula, Modulo);
            rtbConteudo.Text     = met.NConteudo;
            rtbConteudo.ReadOnly = true;

            if (Modulo == 2 && idAula == 1)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m2a1_anatomia_violao1);
            }

            if (Modulo == 2 && idAula == 2)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m2a1_cifragem_do_violao1);
            }

            if (Modulo == 4 && idAula == 4)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m4a3_Cifragem_da_melodia);
            }

            if (Modulo == 4 && idAula == 5)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m4a3_Cifragem_da_melodia2);
            }

            if (Modulo == 4 && idAula == 7)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m4a4_Valor_das_sequencias_de_notas);
            }

            if (Modulo == 5 && idAula == 2)
            {
                this.pictureBox1.Size       = new System.Drawing.Size(326, 436);
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m5a2_Escala_das_notas_para_acorde);
            }

            if (Modulo == 6 && idAula == 1)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.M6A1);
            }

            if (Modulo == 6 && idAula == 3)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m6a1_1formula_acordes_maiores);
            }

            if (Modulo == 6 && idAula == 4)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m6a1_2formula_acordes_maiores);
            }

            if (Modulo == 6 && idAula == 5)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m6a1_3formula_acordes_maiores);
            }

            if (Modulo == 6 && idAula == 6)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m6a1_1formula_acordes_menores);
            }

            if (Modulo == 6 && idAula == 7)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m6a1_2formula_acordes_menores);
            }

            if (Modulo == 6 && idAula == 8)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m6a1_3formula_acordes_menores);
            }

            if (Modulo == 6 && idAula == 10)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m6a2_sequencia_basica_acordes);
            }

            if (Modulo == 6 && idAula == 11)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m6a2_sequencia_basica_acordes);
            }

            if (Modulo == 7 && idAula == 3)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m7a2_Acordes_com_setima_menor);
            }

            if (Modulo == 9 && idAula == 2)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m9a1_Formulas_para_acordes_maiores_com_7_);
            }

            if (Modulo == 9 && idAula == 3)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m9a1_Formulas_para_acordes_menores_com_7_);
            }

            if (Modulo == 10 && idAula == 3)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m10a3_Formulas_para_acordes_maiores_com_6);
            }

            if (Modulo == 10 && idAula == 4)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m10a3_Formulas_para_acordes_menores_com_6);
            }

            if (Modulo == 10 && idAula == 7)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m10a5_Formulas_para_acordes_maiores_com_67);
            }

            if (Modulo == 10 && idAula == 8)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m10a5_Formulas_para_acordes_menores_com_67);
            }

            if (Modulo == 11 && idAula == 2)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m11a_Simbologia_dos_ritmos);
            }

            if (Modulo == 11 && idAula == 4)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m11a_Compasso);
            }

            if (Modulo == 11 && idAula == 7)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m11a5_O_violao_e_a_bateria);
            }

            if (Modulo == 11 && idAula == 8)
            {
                this.pictureBox1.Size       = new System.Drawing.Size(78, 53);
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m11a5_A_puxada_no_chimbal);
            }

            if (Modulo == 11 && idAula == 9)
            {
                this.pictureBox1.Size       = new System.Drawing.Size(27, 64);
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m11a5_A_batida_na_caixa);
            }

            if (Modulo == 11 && idAula == 10)
            {
                this.pictureBox1.Size       = new System.Drawing.Size(55, 54);
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m11a5_Na_hora_do_repique);
            }

            if (Modulo == 11 && idAula == 11)
            {
                this.pictureBox1.Size       = new System.Drawing.Size(348, 429);
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m11a6_1Balada_jovem_e_rock_pop);
            }

            if (Modulo == 11 && idAula == 12)
            {
                this.pictureBox1.Size       = new System.Drawing.Size(353, 277);
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m11a7_Ritmos_dedilhados);
            }

            if (Modulo == 11 && idAula == 13)
            {
                this.pictureBox1.Size       = new System.Drawing.Size(348, 429);
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m11a7_Ritmos_dedilhados);
            }

            if (Modulo == 12 && idAula == 3)
            {
                this.pictureBox1.Size       = new System.Drawing.Size(348, 429);
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m11a7_Ritmos_dedilhados);
            }

            if (Modulo == 12 && idAula == 4)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m12a5_Acordes_com_setima_diminutiva);
            }

            if (Modulo == 13 && idAula == 3)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m13a3_Formulas_pra_acordes_maiores_com_4);
            }

            if (Modulo == 13 && idAula == 5)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m13a5_1Formulas_para_acordes_maiores_com_47);
            }

            if (Modulo == 13 && idAula == 6)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m13a5_2Formulas_para_acordes_menores_com_47);
            }

            if (Modulo == 16 && idAula == 3)
            {
                this.pictureBox1.Size       = new System.Drawing.Size(442, 425);
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m16a3_1Formulas_para_acordes_maiores_com_9);
            }

            if (Modulo == 16 && idAula == 4)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m16a3_2Formulas_para_acordes_menores_com_9);
            }

            if (Modulo == 16 && idAula == 5)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m16a4_Acordes_com_49_nem_maiores_nem_menores);
            }

            if (Modulo == 16 && idAula == 7)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m16a5_Formulas_para_acordes_maiores_com_69);
            }

            if (Modulo == 16 && idAula == 8)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m16a5_Formulas_para_acordes_menores_com_69);
            }

            if (Modulo == 16 && idAula == 10)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m16a7_Formulas_para_acordes_maiores_com_79);
            }
            if (Modulo == 16 && idAula == 11)
            {
                pictureBox1.BackgroundImage = new Bitmap(Properties.Resources.m16a7_Formulas_para_acordes_menores_com_79);
            }
        }