Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void Form1_Load(object sender, EventArgs e)
- {
- som = Path.Combine(CaminhoMusica, "MenuSom.mp3");
- WMPLib.WindowsMediaPlayer musica = new WMPLib.WindowsMediaPlayer();
- musica.URL = som;
- musica.controls.play();
- musica.settings.setMode("loop", true);
- guardar.Tocandomusica = true;
- }
- private void Habitos_Load(object sender, EventArgs e)
- {
- if (animal is Cachorro)
- {
- lbAnimal.Text = "Cachorro";
- lbClassificacao.Text = "Mamifero - Predador";
- pnMamiferos.Enabled = true;
- pnPredadores.Enabled = true;
- }
- }
- Habitos habitos = new Habitos(x.Valor);
- this.Hide();
- habitos.ShowDialog();
- this.Show();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement