Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Game_Pikachu/Game_Pikachu.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@
<Content Include="Resources\31.png" />
<Content Include="Resources\4.png" />
<Content Include="Resources\5.png" />
<Content Include="Sounds\101-opening %28online-audio-converter.com%29.wav" />
<None Include="Resources\mute1.png" />
<None Include="Resources\exit.png" />
<None Include="Resources\Fantastic-pokemon-hd-wallpaper-sumsung.jpg" />
<None Include="Resources\images.jpg" />
Expand Down
73 changes: 51 additions & 22 deletions Game_Pikachu/NewSelectForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions Game_Pikachu/NewSelectForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Media;
using System.Windows.Forms;

namespace Game_Pikachu
Expand Down Expand Up @@ -55,8 +56,21 @@ private void buttonExit_Click(object sender, EventArgs e)
buttonExit.Visible = false;
}


#endregion

private void pictureBox6_Click(object sender, EventArgs e)
{
SoundPlayer sound = new SoundPlayer(@"C:\Users\levan\Desktop\Slice bài giảng\Thực tập nhóm\Code\Pikachu\Game_Pikachu\Sounds\101-opening (online-audio-converter.com).wav");
sound.LoadAsync();
sound.Stop();
}

private void NewSelectForm_Load(object sender, EventArgs e)
{
SoundPlayer sound = new SoundPlayer(@"C:\Users\levan\Desktop\Slice bài giảng\Thực tập nhóm\Code\Pikachu\Game_Pikachu\Sounds\101-opening (online-audio-converter.com).wav");
sound.LoadAsync();
sound.Play();
}
}
}
Loading